Fix bug #14739 with creation of GUI frames from TTY session on Windows.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
bf7bea5d
EZ
12013-12-28 Eli Zaretskii <eliz@gnu.org>
2
3 * frame.el (window-system-for-display): Don't allow to create a
4 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5
8449dd1f
GM
62013-12-28 Glenn Morris <rgm@gnu.org>
7
9c5a5c77
GM
8 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
9 Update callers.
10
11 * apropos.el (apropos-match-face):
12 * calculator.el (calculator-displayer):
13 * dabbrev.el (dabbrev-search-these-buffers-only):
14 * face-remap.el (buffer-face-mode-face):
15 * simple.el (yank-handled-properties):
16 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
17 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
18 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
19 (hashcash-double-spend-database):
20 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
21 (ruby-deep-indent-paren-style):
22 * textmodes/flyspell.el (flyspell-auto-correct-binding):
23 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
24 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
25 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
26 Specify custom types.
27
bb098075
GM
28 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
29 * bookmark.el (bookmark-bmenu-use-header-line):
30 * doc-view.el (doc-view-scale-internally):
31 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
32 * register.el (register-preview-delay):
33 * net/shr.el (shr-bullet):
34 * progmodes/cfengine.el (cfengine-cf-promises)
35 (cfengine-parameters-indent):
36 * progmodes/octave.el (inferior-octave-error-regexp-alist):
37 * textmodes/reftex-vars.el (reftex-label-regexps):
38 * vc/log-edit.el (log-edit-setup-add-author): Add version.
39
9c61f806
GM
40 * net/tls.el (tls-certtool-program): Fix default value.
41
42 * desktop.el (desktop-restore-in-current-display):
43 * newcomment.el (comment-empty-lines):
44 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
45 (idlwave-pad-keyword):
46 * progmodes/tcl.el (tcl-tab-always-indent):
47 * textmodes/reftex-vars.el (reftex-index-default-tag):
48 * elec-pair.el (electric-pair-skip-whitespace):
49 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
50
8449dd1f
GM
51 * emacs-lisp/authors.el (authors-ignored-files)
52 (authors-valid-file-names, authors-renamed-files-alist): Additions.
53
fdadeb49
JC
542013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
55
72140a0f
GM
56 * shell.el (shell-dynamic-complete-command): Doc fix.
57 (shell--command-completion-data): Shell completion now matches
58 executable filenames from the current buffer's directory, on
59 systems in which this behaviour is the default (windows-nt, ms-dos).
fdadeb49 60
e572a7d8
LI
612013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
62
63 * net/shr.el (shr-insert): Don't infloop if the width is zero.
64
7514d3f8
SM
652013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
66
a4151f3b
SM
67 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
68 (bug#16251).
69
7514d3f8
SM
70 * electric.el: Move all electric-pair-* to elec-pair.el.
71 * elec-pair.el: New file, split from electric.el.
72
ac5758d1
LI
732013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
74
75 * net/shr.el (shr-find-fill-point): Don't try to fill if the
76 indentation level is larger than the width, because that will
77 infloop.
78 (shr-insert): Fill repeatedly long texts, so that Japanese is
79 formatted correctly (bug#16263).
24a6b65e
LI
80 (shr-find-fill-point): Off by one error in comparison with the
81 indentation.
ac5758d1 82
7514d3f8 832013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
84
85 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 86 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
87 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
88 if that keeps or improves their balance in buffers.
89 (electric-pair-delete-adjacent-pairs): Delete the pair when
90 backspacing over adjacent matched delimiters.
91 (electric-pair-open-extra-newline): Open extra newline when
92 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
93 (electric--sort-post-self-insertion-hook):
94 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
95 minor-modes are activated.
96 * simple.el (newline-and-indent): Call newline with interactive
97 set to t.
98 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
99 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
100 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
101 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
102 electric-pair-open-newline-between-pairs to nil.
103
fbcc63a3
FEG
1042013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
105
106 * progmodes/python.el: Use lexical-binding.
107 (python-nav-beginning-of-defun): Stop searching ASAP.
108
ed78d16c
XF
1092013-12-25 Xue Fuqiao <xfq.free@gmail.com>
110
111 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
112 Fix interactive spec. Doc fix. (Bug#15754)
113
38b2c142
KY
1142013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
115
116 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 117 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
118 Fix edebug spec (bug#16184).
119
3c856c14
LI
1202013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
121
83fa295c 122 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
123 (shr-insert): Don't infloop if we can't find a good place to break
124 the line (bug#16256).
3c856c14 125
01379221
FEG
1262013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
127
128 * progmodes/python.el:
129 (python-nav--lisp-forward-sexp): New function.
130 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
131 python-nav-lisp-forward-sexp-safe.
132 (python-nav--forward-sexp): New argument SAFE allows switching
133 forward sexp movement behavior for parens.
134 (python-nav-forward-sexp): Throw errors on unterminated parens
135 (Bug#16191).
136 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
137 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
138 (python-shell-buffer-substring):
139 Use `python-nav-forward-sexp-safe'.
01379221 140
99e4926f
LI
1412013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
142
143 * net/shr.el (shr-find-fill-point): Don't break lines before a
144 quotation mark.
c6c20584
LI
145 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
146 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 147 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 148
fec0e828
KN
1492013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
150
151 * net/eww.el (eww-form-textarea): Use a different face for
152 textareas than text input since they have different keymaps
153 (bug#16142).
154
89c868ad
FEG
1552013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
156
7514d3f8
SM
157 * progmodes/python.el (python-nav-beginning-of-statement):
158 Speed up (Bug#15295).
89c868ad 159
eeef121a
LI
1602013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
161
162 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
163 the window configuration.
164
121ea65f
EZ
1652013-12-24 Eli Zaretskii <eliz@gnu.org>
166
167 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
168 we run on MS-Windows or MS-DOS.
169
18cee9ec
MR
1702013-12-24 Martin Rudalics <rudalics@gmx.at>
171
172 * window.el (balance-windows-area): Call window-size instead of
173 window-height and window-width. Bug#16241.
174
58f2b9a5
LI
1752013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
176
177 * net/eww.el (eww-bookmark-quit): Remove.
178 (eww-bookmark-browse): Restore the window configuration when you
179 choose a bookmark (bug#16144).
180
d64b6308
DC
1812013-12-24 Daniel Colascione <dancol@dancol.org>
182
183 * icomplete.el: Remove redundant :group arguments to `defcustom'
184 throughout.
185 (icomplete-show-matches-on-no-input): New customizable variable.
186 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
187 we have something to show.
7514d3f8 188 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 189
0da54898
DC
1902013-12-23 Daniel Colascione <dancol@dancol.org>
191
192 * icomplete.el: Move `provide' to end of file.
193
b90aa4f4
TZ
1942013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
195
196 * net/gnutls.el (gnutls-verify-error): Add version tag.
197
8cd22a08
CY
1982013-12-23 Chong Yidong <cyd@gnu.org>
199
200 * subr.el (set-transient-map): Rename from
201 set-temporary-overlay-map. Doc fix.
202
203 * face-remap.el (text-scale-adjust):
204 * indent.el (indent-rigidly):
205 * kmacro.el (kmacro-call-macro):
206 * minibuffer.el (minibuffer-force-complete):
207 * repeat.el (repeat):
208 * simple.el (universal-argument--mode):
209 * calendar/todo-mode.el (todo-insert-item--next-param):
210 * progmodes/f90.el (f90-abbrev-start): Callers changed.
211
7510b021
CY
212 * indent.el (indent-rigidly): Use substitute-command-keys.
213
72140a0f 2142013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
215
216 * net/eww.el (eww-tag-select): Add text-property to jump to next
217 select field.
e9dc713d 218 (eww): Add non-supported ftp error.
56890ecd 219
1f87a56c
DG
2202013-12-22 Dmitry Gutov <dgutov@yandex.ru>
221
222 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
223 comments. Handle electric indent after typing `?' and `!'.
224
dca38cf9
CY
2252013-12-22 Chong Yidong <cyd@gnu.org>
226
227 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
228 applicable to a frame, fall back on the defface spec.
229 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 230
f2351498
DG
2312013-12-22 Dmitry Gutov <dgutov@yandex.ru>
232
233 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
234 after `{'. We need it after block openers, and it doesn't seem
235 to hurt after hash openers.
236
6cddebc1
DG
2372013-12-22 Dmitry Gutov <dgutov@yandex.ru>
238
239 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
240 extracted from `ruby-smie-rules'.
241 (ruby--electric-indent-chars): New variable.
242 (ruby--electric-indent-p): New function.
243 (ruby-mode): Use `electric-indent-functions' instead of
244 `electric-indent-chars'.
245
65a1da00
DG
2462013-12-22 Dmitry Gutov <dgutov@yandex.ru>
247
248 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
249 docstring.
250 (ruby-smie-rules): Indent plus one level after `=>'.
251
b51ad4cf
RS
2522013-12-21 Richard Stallman <rms@gnu.org>
253
254 * simple.el (newline): Doc fix.
255
72140a0f 2562013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 257
e9dc713d 258 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
259 (eww-history-browse, eww-history-quit, eww-history-kill)
260 (eww-history-mode-map, eww-history-mode): New command and
261 functions to list browser histories.
e9dc713d
JB
262 (eww-form-text): Support text form with disabled
263 and readonly attributes.
264 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 265
5e1901c1
RS
2662013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
267
268 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
269 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
270 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
271 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
272 Use `user-error'.
273 (eww-bookmark-mode-map): Add menu.
274 (eww-render, eww-mode): Use `setq-local'.
275 (eww-tool-bar-map): New variable.
276 (eww-mode): Set `tool-bar-map'.
277 (eww-view-source): Check for `html-mode' with `fboundp'.
278
073d5cfd
LMI
2792013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
280
281 * net/shr.el (shr--extract-best-source): Don't bug out on audio
282 elements with text inside. Also remove debugging.
283
41cf3d11
JD
2842013-12-21 Jan Djärv <jan.h.d@swipnet.se>
285
286 * cus-start.el (all): Add ns-use-srgb-colorspace.
287
aac2b673
CY
2882013-12-21 Chong Yidong <cyd@gnu.org>
289
290 * custom.el (custom-theme-recalc-face): Do nothing if the face is
291 undefined. Thus, theme settings for undefined faces do not take
292 effect until the faces are defined with defface, the same as with
293 theme variables.
294
295 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
296 (face-spec-reset-face): Don't assign extra properties in temacs.
297 (face-spec-recalc): Apply X resources too.
298
bacb0e77
CY
2992013-12-21 Chong Yidong <cyd@gnu.org>
300
301 * faces.el (face-spec-set):
302 * cus-face.el (custom-theme-set-faces, custom-set-faces):
303 * custom.el (defface): Doc fixes (Bug#16203).
304
77221051
CY
305 * indent.el (indent-rigidly-map): Add docstring, and move commands
306 into named functions.
307 (indent-rigidly-left, indent-rigidly-right)
308 (indent-rigidly-left-to-tab-stop)
309 (indent-rigidly-right-to-tab-stop): New functions. Decide on
310 indentation direction based on bidi direction, and accumulate
311 sequential commands in a single undo boundary.
312 (indent-rigidly--pop-undo): New utility function.
313
e0eb0550
JB
3142013-12-20 Juanma Barranquero <lekktu@gmail.com>
315
316 * faces.el (read-face-name): Require crm.el when using crm-separator.
317
3282bd2e
DC
3182013-12-20 Daniel Colascione <dancol@dancol.org>
319
320 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
321 so that we don't reflow comments into the shebang line.
322
1d42e5b6
JL
3232013-12-20 Juri Linkov <juri@jurta.org>
324
325 * saveplace.el (save-place-to-alist): Add `dired-filename' as
326 a position when `dired-directory' is non-nil. Check integer
327 positions with `integerp'.
328 (toggle-save-place, save-places-to-alist): Add check for
329 `dired-directory'.
330 (save-place-find-file-hook): Check integer positions with
331 `integerp'.
332 (save-place-dired-hook): Use `dired-goto-file' when
333 `dired-filename' is found in the assoc list. Check integer
334 positions with `integerp'.
335 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
336
337 * dired.el (dired-initial-position-hook): Rename back from
338 `dired-initial-point-hook'.
339 (dired-initial-position): Rename `dired-initial-point-hook' to
340 `dired-initial-position-hook'.
341 (dired-file-name-at-point): Doc fix. (Bug#15329)
342
24da7273
JL
3432013-12-20 Juri Linkov <juri@jurta.org>
344
345 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
346 (read-regexp-suggestions): New function.
347 (read-regexp): Use `read-regexp-defaults-function' to get default values.
348 Use `read-regexp-suggestions'. Add non-empty default to history
349 for empty input.
350 (occur-read-regexp-defaults-function): Remove function.
351 (occur-read-primary-args): Use `regexp-history-last' instead of
352 `occur-read-regexp-defaults-function'.
353
354 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
355 (hi-lock-line-face-buffer, hi-lock-face-buffer)
356 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
357 `hi-lock-read-regexp-defaults-function'. Doc fix.
358 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
359 with `find-tag-default-as-symbol-regexp'. Doc fix.
360 (hi-lock-read-regexp-defaults): Remove function.
361 (hi-lock-regexp-okay): Add check for null.
362
363 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
364 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
365
366 * subr.el (find-tag-default-as-symbol-regexp): New function.
367 (find-tag-default-as-regexp): Move symbol regexp formatting to
368 `find-tag-default-as-symbol-regexp'.
369
137f57c8
S
3702013-12-20 E Sabof <esabof@gmail.com> (tiny change)
371
372 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
373 (Bug#14179)
374
f3a66082
SB
3752013-12-20 Stephen Berman <stephen.berman@gmx.net>
376
377 * calendar/todo-mode.el: New implementation of item insertion
378 commands and key bindings.
379 (todo-key-prompt): New face.
380 (todo-insert-item): New command.
381 (todo-insert-item--parameters): New defconst, replacing defvar
382 todo-insertion-commands-args-genlist.
383 (todo-insert-item--param-key-alist): New defconst, replacing
384 defvar todo-insertion-commands-arg-key-list.
385 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
386 (todo-insert-item--argsleft, todo-insert-item--apply-args)
387 (todo-insert-item--next-param): New functions.
388 (todo-insert-item--args, todo-insert-item--argleft)
389 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
390 New variables.
391 (todo-key-bindings-t): Change binding of "i" from
392 todo-insertion-map to todo-insert-item.
393 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
394 (todo-insertion-command-name, todo-insertion-commands-names)
395 (todo-define-insertion-command, todo-insertion-commands)
396 (todo-insertion-key-bindings, todo-insertion-map): Remove.
397
2f99433b
SB
3982013-12-20 Stephen Berman <stephen.berman@gmx.net>
399
400 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
401 (todo-toggle-item-highlighting): Use eval-and-compile instead of
402 eval-when-compile.
403 (todo-move-category): Allow choosing a non-existing todo file to
404 move the category to, and create that file.
405 (todo-default-priority): New user option.
406 (todo-set-item-priority): Use it.
407 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
408 (desktop-restore-file-buffer): Declare.
409 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
410 (todo-modes-set-2): Locally set desktop-save-buffer to
411 todo-desktop-save-buffer.
412 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
413 (auto-mode-alist): Add autoload cookie.
414
131e4695
BB
4152013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
416
417 * emacs-lisp/subr-x.el: Renamed from helpers.el.
418 helpers.el was a poor choice of name.
3cbfb935
BB
419 (string-remove-prefix): New function.
420 (string-remove-suffix): New function.
131e4695 421
c44de18d
MR
4222013-12-20 Martin Rudalics <rudalics@gmx.at>
423
424 Fix assignment for new window total sizes.
425 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
426 (window--pixel-to-total-1, window--pixel-to-total):
427 Fix calculation of new total sizes.
c44de18d 428
ca65efcc
VS
4292013-12-20 Vitalie Spinu <spinuvit@gmail.com>
430
431 * comint.el (comint-output-filter): Fix rear-nonsticky property
432 placement (Bug#16010).
433
a9574eb7
CY
4342013-12-20 Chong Yidong <cyd@gnu.org>
435
436 * faces.el (read-color): Minor fix for completion function.
437
b520f210
DG
4382013-12-20 Dmitry Gutov <dgutov@yandex.ru>
439
e0eb0550
JB
440 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
441 New option. (Bug#16182)
b520f210
DG
442 (ruby-smie--indent-to-stmt-p): Use it.
443 (ruby-smie-rules): Revert the logic in the handling of `when'.
444 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
445 (ruby-deep-arglist, ruby-deep-indent-paren)
446 (ruby-deep-indent-paren-style): Update docstrings to note that the
447 vars don't have any effect with SMIE.
448
26b75b45
JB
4492013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
450
451 * calc/calc.el (calc-enter, calc-pop): Use the variable
452 `calc-context-sensitive-enter'.
453
cf91cee7
LMI
4542013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
455
456 * net/shr.el (shr-insert): Protect against infloops in degenerate
457 tables.
458
51d971b4
RS
4592013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
460
461 * progmodes/octave.el (octave): Add link to manual and octave
462 homepage.
463 (octave-mode-menu): Link to octave-mode manual.
464
8c2e462a
LL
4652013-12-20 Leo Liu <sdl.web@gmail.com>
466
467 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
468 insertion using skeleton-end-newline. (Bug#16138)
469
501158bc
JL
4702013-12-20 Juri Linkov <juri@jurta.org>
471
472 * replace.el (occur-engine): Use `add-face-text-property'
473 to add the face property to matches and titles. (Bug#14645)
474
475 * hi-lock.el (hi-green): Use lighter color "light green" closer to
476 the palette of other hi-lock colors.
477 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
478
50ab1da6
JL
4792013-12-19 Juri Linkov <juri@jurta.org>
480
481 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
482 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
483 (minibuffer-history-symbol): Move variable declaration closer to
484 its usage.
485
486 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
487 (Bug#14785)
488
3d6e95e7
JL
4892013-12-19 Juri Linkov <juri@jurta.org>
490
491 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
492 New function.
493 (log-edit-hook): Add it to :options. (Bug#16170)
494
b41594fd
JL
4952013-12-19 Juri Linkov <juri@jurta.org>
496
497 * simple.el (eval-expression-print-format): Don't check for
498 command names and the last command. Always display additional
499 formats of the integer result in the echo area, and insert them
500 to the current buffer only with a zero prefix arg.
501 Display character when char-displayable-p is non-nil.
502 (eval-expression): With a zero prefix arg, set `print-length' and
503 `print-level' to nil, and insert the integer values from
504 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
505
506 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
507 `eval-last-sexp-arg-internal'. Doc fix.
508 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
509 `eval-last-sexp-print-value'. Doc fix.
510 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
511 Set `print-length' and `print-level' to nil when arg is zero.
512 (eval-last-sexp): Doc fix.
513 (eval-defun-2): Print the integer values from
514 `eval-expression-print-format' at the end.
515
516 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
517 values from `eval-expression-print-format' at the end.
518
519 * ielm.el (ielm-eval-input): Print the integer
520 values from `eval-expression-print-format' at the end.
521
8f2be364
TZ
5222013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
523
524 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
525 2013-12-11T19:01:44Z!tzz@lifelogs.com.
526
2230a6e3
SM
5272013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
528
529 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
530 (hl-line-highlight, global-hl-line-highlight): Use it.
531 (hl-line-overlay): Use defvar-local.
532
1269a680
JD
5332013-12-19 Jan Djärv <jan.h.d@swipnet.se>
534
535 * term/ns-win.el: Require dnd.
536 (global-map): Remove drag items.
537 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
538 (ns-set-background-at-mouse):
539 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
540 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
541 New functions.
1269a680 542
049638ad
GM
5432013-12-19 Glenn Morris <rgm@gnu.org>
544
545 * emacs-lisp/ert.el (ert-select-tests):
546 Fix string/symbol mixup. (Bug#16121)
547
ce41edb4
DG
5482013-12-19 Dmitry Gutov <dgutov@yandex.ru>
549
550 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
551 keywords to their parent.
552
7e1549c9
DG
5532013-12-19 Dmitry Gutov <dgutov@yandex.ru>
554
555 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
556 first arg to be a string (fixed dead code), or an operator symbol.
557 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
558 operator symbols.
559 (ruby-smie-rules): Remove parent token check in the `.' clause, it
560 did nothing. Don't respond to `(:after ".")', it will be called
561 with :before anyway. Remove the ` @ ' rule, it didn't seem to
562 change anything. Only return indentation for binary operators
563 when they are hanging. De-dent opening paren when its parent is
564 `.', otherwise it looks bad when the dot is not at bol or eol
565 (bug#16182).
566
3ee4cd64
JL
5672013-12-19 Juri Linkov <juri@jurta.org>
568
569 * replace.el (query-replace-read-args): Split a non-negative arg
570 and a negative arg into separate elements.
571 (query-replace, query-replace-regexp, replace-string)
572 (replace-regexp): Add arg `backward'. Doc fix.
573 (replace-match-maybe-edit): When new arg `backward' is non-nil,
574 move point to the beginning of the match.
575 (replace-search, replace-highlight): Use new arg `backward'
576 to set the value of `isearch-forward'.
577 (perform-replace): Add arg `backward' and use it to perform
578 replacement backward. (Bug#14979)
579
580 * isearch.el (isearch-query-replace): Use a negative prefix arg
581 to call `perform-replace' with a non-nil arg `backward'.
582
0cda6b7b
JL
5832013-12-18 Juri Linkov <juri@jurta.org>
584
585 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
586 to the default list. Move `log-edit-show-files' to the end.
587 Add more available functions to options.
588 (log-edit): Move default specific settings to
589 `log-edit-insert-message-template'. Don't move point.
590 (log-edit-insert-message-template): New function.
591 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
592 (Bug#16170)
593
b216f0a6
JL
5942013-12-18 Juri Linkov <juri@jurta.org>
595
596 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
597 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
598
1d1c55dc
LL
5992013-12-18 Leo Liu <sdl.web@gmail.com>
600
e9dc713d
JB
601 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
602 (Bug#16186)
1d1c55dc 603
64e4c76e
EZ
6042013-12-18 Eli Zaretskii <eliz@gnu.org>
605
606 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
607 formats for displaying file sizes when the -s switch is given.
608 Instead, compute a separate format for displaying the size in
609 blocks, which is displayed in addition to the "regular" size.
610 When -h is given in addition to -s, produce size in blocks in
611 human-readable form as well. (Bug#16179)
612
b2984e39
TH
6132013-12-18 Tassilo Horn <tsdh@gnu.org>
614
2230a6e3
SM
615 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
616 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 617
50ff2e06
CY
6182013-12-18 Chong Yidong <cyd@gnu.org>
619
0081bc84
CY
620 * cus-edit.el (custom-magic-alist): Fix "themed" description
621 (Bug#14348).
622
a7ee9424
CY
623 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
624 is non-nil, do not create a new entry in the symbol's theme-value
625 or theme-face property; update theme-settings only (Bug#14664).
18874304 626 (custom-available-themes): Doc fix.
a7ee9424 627
8f942537
CY
628 * cus-theme.el (custom-new-theme-mode-map): Add bindings
629 (Bug#15674).
630
50ff2e06
CY
631 * replace.el (occur-engine): Avoid infloop (Bug#7593).
632
83c60f60
KI
6332013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
634
635 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
636 (Bug#13914).
637
e0eb0550 6382013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
639
640 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
641
1f41ee56
GM
6422013-12-18 Glenn Morris <rgm@gnu.org>
643
644 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 645 * cus-start.el (load-prefer-newer): New option.
1f41ee56 646
e82134b1
LW
6472013-12-18 Le Wang <l26wang@gmail.com>
648
2230a6e3
SM
649 * comint.el (comint-previous-matching-input-from-input):
650 Retain point (Bug#13404).
e82134b1 651
33f5d4c1
CY
6522013-12-18 Chong Yidong <cyd@gnu.org>
653
654 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
655
ccc9f6dc
GM
6562013-12-18 Glenn Morris <rgm@gnu.org>
657
658 * mail/emacsbug.el (report-emacs-bug):
659 Only mention enable-multibyte-characters if non-standard.
660
33dd8e95
JL
6612013-12-17 Juri Linkov <juri@jurta.org>
662
663 * arc-mode.el (archive-extract-by-file): Check if directory exists
664 before deletion to not show irrelevant errors if it doesn't exist.
665
7a409b30
JL
6662013-12-17 Juri Linkov <juri@jurta.org>
667
668 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
669 (Bug#14751)
670
671 * net/eww.el (browse-web): Add alias to `eww'.
672 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
673 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
674
675 * net/browse-url.el (browse-url-browser-function): Move `eww'
676 closer to similar functions.
677
678 * startup.el (fancy-startup-screen, fancy-about-screen):
679 Set browse-url-browser-function to eww-browse-url locally.
680 (Bug#14751)
681
2d6b6005
SM
6822013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
683
684 * window.el (window--pixel-to-total): Remove unused `mini' var.
685 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
686 (split-window): Remove unused `new' var.
687 (window--display-buffer): Remove unused `frame' and `delta' vars.
688 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
689 and display-width'.
690
cf2b7efc
MR
6912013-12-17 Martin Rudalics <rudalics@gmx.at>
692
693 * dired.el (dired-mark-pop-up):
694 * register.el (register-preview): Don't bind
695 split-height-threshold here since it's now done in
696 display-buffer-below-selected.
697
ed3af8a7 6982013-12-17 oblique <psyberbits@gmail.com> (tiny change)
699
700 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
701 xterm-rgb-convert-to-16bit.
702 (rxvt-register-default-colors): Standardize with
703 xterm-register-default-colors (Bug#14078).
704
76da3455
DK
7052013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
706
707 * simple.el (kill-region): Pass mark first, then point, so that
708 kill-append works right (Bug#12819).
709 (copy-region-as-kill, kill-ring-save): Likewise.
710
2b84d763
LL
7112013-12-17 Leo Liu <sdl.web@gmail.com>
712
713 * net/rcirc.el (rcirc-add-face):
714 * eshell/em-prompt.el (eshell-emit-prompt):
715 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
716 (Bug#16167)
717
e2f6a0bc
CY
7182013-12-17 Chong Yidong <cyd@gnu.org>
719
720 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
721 Suggested by Xue Fuqiao.
722
35b249a6
DG
7232013-12-17 Dmitry Gutov <dgutov@yandex.ru>
724
725 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
726
e9145444
SM
7272013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
728
729 * net/shr.el (shr-insert-document): Remove unused var
730 `shr-preliminary-table-render'.
731 (shr-rescale-image): Remove unused arg `force'.
732 (shr-put-image): Update calls accordingly.
733 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
734
5556c0ce
DG
7352013-12-17 Dmitry Gutov <dgutov@yandex.ru>
736
737 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
738 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
739 :close-all, to see which indentation method to use (Bug#16116).
740 (smie-rules-function): Document the method :close-all.
741
11bade0a
LMI
7422013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
743
1c4b1e61
LMI
744 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
745
11bade0a
LMI
746 * net/eww.el (eww-display-html): If we can't find the anchor we're
747 looking for, then go to point-min.
748
8fb8c4f3
PE
7492013-12-16 Paul Eggert <eggert@cs.ucla.edu>
750
751 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
752 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
753 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
754 Expand dir too, in case it's relative.
755
6c8e0ae6
JL
7562013-12-16 Juri Linkov <juri@jurta.org>
757
758 * desktop.el (desktop-auto-save-timeout): Change default to
759 `auto-save-timeout'. Doc fix.
760 (desktop-save): Skip the timestamp in desktop-saved-frameset
761 when checking for auto-save changes.
762 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
763 `desktop-auto-save' is called repeatedly by the idle timer.
764 (desktop-auto-save-set-timer): Replace `run-with-timer' with
765 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
766 (Bug#15331)
767
2178e858
JL
7682013-12-16 Juri Linkov <juri@jurta.org>
769
770 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
771 (Bug#16035)
772 (isearch-pre-command-hook): Check `this-command' for symbolp.
773
39cb42c6
SM
7742013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
775
776 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
777
5b9b750a
TZ
7782013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
779
780 * progmodes/cfengine.el (cfengine3--current-word): Remove.
781 (cfengine3--current-function): Bring in the current-function
782 functionality from `cfengine3--current-word'.
783 (cfengine3-completion-function): Bring in the
784 bounds-of-current-word functionality from
785 `cfengine3--current-word'.
786
d144ef06
MR
7872013-12-16 Martin Rudalics <rudalics@gmx.at>
788
39cb42c6
SM
789 * window.el (display-buffer-below-selected):
790 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 791
a8bbe298
LL
7922013-12-16 Leo Liu <sdl.web@gmail.com>
793
794 * progmodes/compile.el (compile-goto-error): Do not push-mark.
795 Remove NOMSG arg and all uses changed.
796
2013a2f9
SM
7972013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
798
799 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
800 (cua--deactivate-rectangle): Don't deactivate the mark.
801 (cua-set-rectangle-mark): Don't set mark-active since
802 cua--activate-rectangle already does it for us.
803 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
804 non-rectangular region.
805
806 * emulation/cua-base.el (cua-repeat-replace-region):
807 Use with-current-buffer.
808
809 * net/gnutls.el: Use cl-lib.
810 (gnutls-negotiate): `mapcan' -> cl-mapcan.
811
5ae811dd
TZ
8122013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
813
814 * emacs-lisp/package.el (package-built-in-p): Support both
815 built-in and the package.el converted package descriptions.
816 (package-show-package-list): Allow keywords.
817 (package-keyword-button-action): Use it instead of
818 `finder-list-matches'.
819 (package-menu-filter-interactive): Interactive filtering (by
820 keyword) function.
821 (package-menu--generate): Support keywords and change keymappings
822 and headers when they are given.
823 (package--has-keyword-p): Helper function.
824 (package-menu--refresh): Use it.
825 (package--mapc): Helper function.
826 (package-all-keywords): Use it.
827 (package-menu-mode-map): Set up menu items and keybindings to
828 provide a filtering UI.
829
31b4827e
TZ
8302013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
831
832 * net/gnutls.el (gnutls-verify-error): New defcustom to control
833 the behavior when a certificate fails validation. Defaults to
834 old behavior: never abort, just warn.
835 (gnutls-negotiate): Use it.
836
f93cc74f
MR
8372013-12-14 Martin Rudalics <rudalics@gmx.at>
838
839 * window.el (display-buffer-below-selected): Never split window
840 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
841
f77d7d17
TW
8422013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
843
844 * emacs-lisp/package.el (package--prepare-dependencies): New function.
845 (package-buffer-info): Use it (bug#15108).
aa2bddd7 846
7514d3f8
SM
8472013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
848
aa2bddd7 849 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 850 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 851
276bc333
DG
8522013-12-14 Dmitry Gutov <dgutov@yandex.ru>
853
854 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
855 open-paren tokens when preceded by a open-paren, too.
856 (ruby-smie-rules): Handle virtual indentation after open-paren
857 tokens specially. If there is code between it and eol, return the
858 column where is starts (Bug#16118).
859
d43957f3
TZ
8602013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
861
a5c1ac0c 862 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 863 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
864 (cfengine3--current-word): Fix parameters.
865 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
866 (cfengine3-completion-function, cfengine3--current-function):
867 Use `assq' for symbols.
d43957f3
TZ
868 (cfengine3--current-function): Fix `cfengine3--current-word' call.
869
06a4f110
GM
8702013-12-13 Glenn Morris <rgm@gnu.org>
871
872 * loadup.el (load-path): Warn if site-load or site-init changes it.
873 No more need to reset it when bootstrapping.
874
978a5fda
TZ
8752013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
876
877 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
878 locations for cf-promises.
879 (cfengine-mode-syntax-functions-regex): New caching variable.
880 (cfengine3-fallback-syntax): Fallback syntax for cases where
881 cf-promises doesn't run.
882 (cfengine3--current-word): Reimplement using
883 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
884 (cfengine3-completion-function, cfengine3--current-function):
885 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
886 (cfengine3-clear-syntax-cache): New function.
887 (cfengine3-make-syntax-cache): Simplify and create
888 `cfengine-mode-syntax-functions-regex' on demand.
889 (cfengine3-format-function-docstring): Don't call
890 `cfengine3-make-syntax-cache' explicitly.
891
71e6691e
MR
8922013-12-13 Martin Rudalics <rudalics@gmx.at>
893
894 Fix windmove-find-other-window broken after pixelwise resizing
895 (Bug#16017).
896 * windmove.el (windmove-other-window-loc): Revert change from
897 2013-12-04.
898 (windmove-find-other-window): Call window-in-direction.
899 * window.el (window-in-direction): New arguments SIGN, WRAP and
900 MINI to emulate original windmove-find-other-window behavior.
901
84c73ba0
DG
9022013-12-13 Dmitry Gutov <dgutov@yandex.ru>
903
904 * simple.el (blink-matching--overlay): New variable.
905 (blink-matching-open): Instead of moving point, highlight the
906 matching paren with an overlay
907 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
908
909 * faces.el (paren-showing-faces, show-paren-match)
910 (show-paren-mismatch): Move from paren.el.
911
b9e20952
LL
9122013-12-13 Leo Liu <sdl.web@gmail.com>
913
914 * indent.el (indent-region): Disable progress reporter in
915 minibuffer. (Bug#16108)
916
917 * bindings.el (visual-order-cursor-movement): Fix version.
918
ce030451
FEG
9192013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
920
921 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
922 Also match after beginning of line.
923 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 924 files. Thanks to Russell Sim. (Bug#15378)
ce030451 925
4a9c6865
JL
9262013-12-13 Juri Linkov <juri@jurta.org>
927
928 * simple.el <Keypad support>: Remove key bindings duplicated
929 with bindings.el. (Bug#14397)
930
2bc170c3
JL
9312013-12-13 Juri Linkov <juri@jurta.org>
932
933 * comint.el (comint-mode-map): Replace `delete-char' with
934 `delete-forward-char'. (Bug#16109)
935
bc9222c9
FEG
9362013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
937
aa2bddd7 938 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 939 Fix de-denters cornercase. (Bug#15731)
bc9222c9 940
cb3a1380
SM
9412013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
942
943 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
944 (advice--make): Pay attention to `depth'.
945 (advice--make-1): Don't autoload commands eagerly.
946 * emacs-lisp/elp.el (elp-instrument-function):
947 * emacs-lisp/trace.el (trace-function-internal):
948 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
949
950 * iswitchb.el (iswitchb-mode): Don't belittle ido.
951
01633a17
EZ
9522013-12-12 Eli Zaretskii <eliz@gnu.org>
953
954 * term/w32-win.el (w32-handle-dropped-file):
955 * startup.el (normal-top-level):
956 * net/browse-url.el (browse-url-file-url):
957 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
958 decode file names using 'utf-8' rather than
959 file-name-coding-system.
960
09faee72
FEG
9612013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
962
963 * progmodes/python.el (python-indent-context)
964 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 965 behavior for comment blocks. (Bug#15916)
09faee72 966
f4f84024 9672013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 968
cb3a1380
SM
969 * progmodes/python.el (python-indent-calculate-indentation):
970 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
971 operators when they are just string constituents. (Bug#15812)
972
d5ccb7be
JL
9732013-12-12 Juri Linkov <juri@jurta.org>
974
975 * uniquify.el (uniquify-buffer-name-style): Change default to
976 `post-forward-angle-brackets'.
977
978 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
979 `uniquify'. Change default to `post-forward-angle-brackets'.
980
7b3f5679
GM
9812013-12-11 Glenn Morris <rgm@gnu.org>
982
983 * emacs-lisp/package.el (finder-list-matches):
984 Autoload rather than falsely declaring.
985
f4fe8fdd
TZ
9862013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
987
988 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
989 (eww-mode-map): Use them.
990
3c29190f
MR
9912013-12-11 Martin Rudalics <rudalics@gmx.at>
992
993 * window.el (display-buffer-in-side-window): Fix doc-string
994 (Bug#16115).
995
0cd616a2
JB
9962013-12-11 Juanma Barranquero <lekktu@gmail.com>
997
998 * vc/vc-git.el: Silence byte-compiler warnings.
999 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1000 (log-edit-set-header): Declare.
1001
3ef8e0d1
EZ
10022013-12-11 Eli Zaretskii <eliz@gnu.org>
1003
1004 * Makefile.in (custom-deps, finder-data): Run output file names
1005 through unmsys--file-name. (Bug#16099)
1006
afdadaf7
SM
10072013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1008
7ae3ae39 1009 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 1010 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 1011
5b4f37ab
SM
1012 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1013 instead of deleting the selection "by hand" (bug#16098).
1014 Rely on insert-for-yank to yank rectangles.
1015 (cua-highlight-region-shift-only): Mark obsolete.
1016 (cua-mode): Don't enable/disable transient-mark-mode,
1017 shift-select-mode (cua-mode works both with and without them), and
1018 pc-selection-mode (obsolete).
1019 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1020 (cua--deactivate-rectangle): Deactivate it.
1021
4b72c12b
SM
1022 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1023 (delete-selection-helper): Make sure yank starts at the top of the
1024 deleted region.
1025 (minibuffer-keyboard-quit): Use region-active-p.
1026
e82af72d
SM
1027 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1028
afdadaf7
SM
1029 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1030 to `delete' (bug#16109).
1031
ed4bc201
RS
10322013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1033
1034 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1035 info manual and show keybindings and set `:group' keyword.
1036
bb8097b9
JL
10372013-12-11 Juri Linkov <juri@jurta.org>
1038
1039 * delsel.el (delete-active-region): Let-bind `this-command'
1040 to prevent `kill-region' from changing its original value.
1041 (delete-selection-helper): Handle `overwrite-mode' for the type
1042 `kill' exactly the same way as for the type `t'.
1043 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1044 Support more commands. (Bug#13312)
1045
c1916ff5
JL
10462013-12-11 Juri Linkov <juri@jurta.org>
1047
1048 * bindings.el: Map kp keys to non-kp keys systematically
1049 with basic modifiers control, meta and shift. (Bug#14397)
1050
7514d3f8 10512013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
1052
1053 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1054 "Close browser" menu items. Fix wrong function of "List
1055 bookmarks".
1056
4cc51eaf
JL
10572013-12-11 Juri Linkov <juri@jurta.org>
1058
1059 * misearch.el (multi-isearch-buffers): Set the value of
1060 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1061 arg of isearch-forward to t.
1062 (multi-isearch-buffers-regexp): Set the value of
1063 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1064 arg of isearch-forward-regexp to t.
1065 (multi-isearch-files): Set the value of
1066 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1067 arg of isearch-forward to t.
1068 (multi-isearch-files-regexp): Set the value of
1069 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1070 arg of isearch-forward-regexp to t. (Bug#16035)
1071
1072 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1073 arg of isearch-forward to t.
1074 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1075 arg of isearch-forward-regexp to t.
1076 (dired-isearch-filter-filenames): Remove unnecessary check for
1077 `dired-isearch-filenames'.
1078
1079 * comint.el (comint-history-isearch-backward):
1080 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1081 (comint-history-isearch-backward-regexp):
1082 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1083
ceac12b7
EZ
10842013-12-10 Eli Zaretskii <eliz@gnu.org>
1085
1086 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1087 unmsys--file-name. (Bug#16099)
1088
5a565782
TZ
10892013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1090
cb3a1380
SM
1091 * emacs-lisp/package.el (package-keyword-button-action):
1092 Remove finder.el require dependency.
5a565782 1093
a81fc7ba
TZ
10942013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1095
1096 * emacs-lisp/package.el: Require finder.el.
1097 (describe-package-1): Add keyword buttons.
1098 (package-make-button): New convenience function.
1099 (package-keyword-button-action): Keyword button action using
e0eb0550 1100 `finder-list-matches'.
a81fc7ba 1101
6aaca951
EZ
11022013-12-09 Eli Zaretskii <eliz@gnu.org>
1103
1104 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1105 last commit.
1106
a1099a91
MA
11072013-12-09 Michael Albinus <michael.albinus@gmx.de>
1108
1109 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1110 symlinked files.
1111
8212d9c0
DG
11122013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1113
1114 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1115 after the end of a percent literal.
1116
8f48d131
CD
11172013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1118
cb3a1380
SM
1119 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1120 Handle caret-delimited strings (Bug#16079).
8f48d131 1121
ff8c9764
DG
11222013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1123
cb3a1380
SM
1124 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1125 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
1126 `ruby-parse-partial' (Bug#16078).
1127
d64643b4
LL
11282013-12-09 Leo Liu <sdl.web@gmail.com>
1129
1130 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1131
47e59c66
DG
11322013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1133
1134 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1135 (js-switch-indent-offset): New option.
1136 (js--proper-indentation): Use it. And handle the case when
1137 "default" is actually a key in an object literal.
1138 (js--same-line): New function.
1139 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
1140 (js--indent-in-array-comp, js--array-comp-indentation):
1141 New functions.
47e59c66
DG
1142 (js--proper-indentation): Use them, to handle array comprehension
1143 continuations.
1144
974ebc9c
LL
11452013-12-08 Leo Liu <sdl.web@gmail.com>
1146
1147 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1148 (flymake-make-overlay): Remove arg MOUSE-FACE.
1149 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1150
27262e39
SM
11512013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1152
1153 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1154 New function.
1155 (redisplay-highlight-region-function): Use it.
1156
1157 * emulation/cua-base.el (cua--explicit-region-start)
1158 (cua--last-region-shifted): Remove.
1159 (cua--deactivate): Use deactivate-mark.
1160 (cua--pre-command-handler-1): Don't handle shift-selection.
1161 (cua--post-command-handler-1): Don't change transient-mark-mode.
1162 (cua--select-keymaps): Use region-active-p rather than
1163 cua--explicit-region-start or cua--last-region-shifted.
1164 (cua-mode): Enable shift-select-mode.
1165
6407822c
LL
11662013-12-08 Leo Liu <sdl.web@gmail.com>
1167
27262e39
SM
1168 * progmodes/flymake.el (flymake-popup-current-error-menu):
1169 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
1170 (flymake-posn-at-point-as-event, flymake-popup-menu)
1171 (flymake-make-emacs-menu): Remove. (Bug#16077)
1172
00a2b823
SM
11732013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1174
02033d49
SM
1175 * rect.el (rectangle-mark-mode): Activate mark even if
1176 transient-mark-mode is off (bug#16066).
1177 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1178 is > mark and at bolp.
1179
6f8dfccf
SM
1180 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1181 (region-extract-function): Use it.
1182 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1183 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1184 Delete functions.
1185 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1186 kill-ring-save, kill-region, delete-char, delete-forward-char.
1187 Ignore self-insert-iso.
1188
1189 * emulation/cua-gmrk.el (cua--init-global-mark):
1190 Ignore `self-insert-iso'.
1191
1192 * emulation/cua-base.el (cua--prefix-copy-handler)
1193 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1194 checking cua--rectangle.
1195 (cua-delete-region): Use region-extract-function.
1196 (cua-replace-region): Delete function.
1197 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1198 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1199 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1200 (cua--init-keymaps): Don't remap delete-selection commands.
1201 (cua-mode): Use delete-selection-mode instead of rolling our own
1202 (bug#16085).
1203
1204 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1205 Obey region-extract-function.
1206
00a2b823
SM
1207 Make registers and delete-selection-mode work on rectangles.
1208 * register.el (describe-register-1): Don't modify the register's value.
1209 (copy-to-register): Obey region-extract-function.
1210 * delsel.el (delete-active-region): Obey region-extract-function.
1211
a92fa5f1
LL
12122013-12-08 Leo Liu <sdl.web@gmail.com>
1213
1214 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1215 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1216 (flymake-compilation-prevents-syntax-check)
1217 (flymake-start-syntax-check-on-newline)
1218 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1219 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1220 (flymake-xml-program, flymake-master-file-dirs)
1221 (flymake-master-file-count-limit)
1222 (flymake-allowed-file-name-masks): Relocate.
1223 (flymake-makehash, flymake-float-time)
1224 (flymake-replace-regexp-in-string, flymake-split-string)
1225 (flymake-get-temp-dir): Remove.
1226 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1227 (flymake-current-row, flymake-selected-frame)
1228 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1229 related functions. (Bug#16077)
1230
73c8ceea
BB
12312013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1232
1233 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1234
faec28d9
TH
12352013-12-07 Tassilo Horn <tsdh@gnu.org>
1236
1237 * help-fns.el (describe-function-1): Use new advice-* functions
1238 rather than old ad-* functions. Fix function type description and
1239 source links for advised functions and subrs.
1240
e330b646
LMI
12412013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1242
00a2b823 1243 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 1244
4803595d
MA
12452013-12-06 Michael Albinus <michael.albinus@gmx.de>
1246
1247 * progmodes/compile.el (compilation-start):
1248 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1249
1250 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1251 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1252
fa834a93
DG
12532013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1254
00a2b823
SM
1255 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1256 Touch up the last change.
fa834a93 1257
b2856a6f
LL
12582013-12-06 Leo Liu <sdl.web@gmail.com>
1259
1260 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1261 (inferior-octave-startup): Always use "octave> " for prompt.
1262 (octave-goto-function-definition)
1263 (octave-sync-function-file-names)
1264 (octave-find-definition-default-filename): Remove redundant backquotes.
1265
af67e79a
DG
12662013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1267
1268 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1269 syntax for `?'.
1270 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1271 where appropriate already.
1272 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1273 end of method names (Bug#15874).
1274
bf093209
JL
12752013-12-06 Juri Linkov <juri@jurta.org>
1276
1277 * isearch.el (isearch--saved-overriding-local-map):
1278 New internal variable.
1279 (isearch-mode): Set it to the initial value of
1280 `overriding-terminal-local-map'.
1281 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1282 with `isearch--saved-overriding-local-map'. (Bug#16035)
1283
16588fad
DG
12842013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1285
00a2b823
SM
1286 * progmodes/octave.el (inferior-octave-completion-table):
1287 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1288 (Bug#11906). Update all references.
1289
1290 * minibuffer.el (completion-table-with-cache): New function.
1291
bf4906d7
CD
12922013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1293
1294 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1295
ff69c18f
TZ
12962013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1297
1298 * net/eww.el (eww-current-source): New variable to store page
1299 source.
1300 (eww-display-html, eww-mode, eww-save-history)
1301 (eww-restore-history): Use it.
1302 (eww-view-source): New command to view page source.
1303 Opportunistically uses `html-mode' to highlight the buffer.
1304 (eww-mode-map): Install it.
1305
b85eff45
MA
13062013-12-05 Michael Albinus <michael.albinus@gmx.de>
1307
1308 * net/dbus.el (dbus-unregister-service)
1309 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1310 Fix docstring.
1311 (dbus-unregister-service): Skip :serial entries in
1312 `dbus-registered-objects-table'.
1313 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1314
39eb0899
TZ
13152013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1316
1317 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1318 around keywords with extra `split-string' argument.
1319
456760a5
MR
13202013-12-04 Martin Rudalics <rudalics@gmx.at>
1321
1322 * windmove.el (windmove-other-window-loc): Handle navigation
1323 between windows (excluding the minibuffer window - Bug#16017).
1324
81961e4c
MA
13252013-12-04 Michael Albinus <michael.albinus@gmx.de>
1326
1327 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1328 in D-Bus type syntax.
1329 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1330 preserve unibyte strings. (Bug#16048)
1331
8497f938
SM
13322013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1333
1334 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1335 Call force-mode-line-update is the proper buffer (bug#16042).
1336
dda61916
DG
13372013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1338
1339 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1340 `log-edit-remember-comment', make argument optional. Adjust all
1341 callers.
1342 (log-edit-mode): Add `log-edit-remember-comment' to
1343 `kill-buffer-hook' locally.
1344 (log-edit-kill-buffer): Don't remember comment explicitly since
1345 the buffer is killed anyway.
1346
c085e5b9
JL
13472013-12-04 Juri Linkov <juri@jurta.org>
1348
1349 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1350 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1351
e0eb0550 13522013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1353
1354 * notifications.el (notifications-close-notification): Call the
81961e4c 1355 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1356
39fa32d6
KY
13572013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1358
1359 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1360
9139632a
JL
13612013-12-03 Juri Linkov <juri@jurta.org>
1362
1363 * progmodes/compile.el (compilation-start): Rename window alist
1364 entry `no-display-ok' to `allow-no-window'.
1365
1366 * simple.el (shell-command): Add window alist entry
1367 `allow-no-window' to `display-buffer'.
1368 (async-shell-command): Doc fix.
1369
1370 * window.el (display-buffer-no-window): New action function.
1371 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1372
0f457a37
DG
13732013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1374
1375 * vc/log-edit.el (log-edit-set-header): Extract from
1376 `log-edit-toggle-header'.
1377 (log-edit-extract-headers): Separate the summary, when extracted
1378 from header, from the rest of the message with an empty line.
1379
1380 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1381 line, if present, to the Summary header.
1382
0962f376
SM
13832013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1384
1385 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1386 in current-buffer (bug#16029).
1387
f345395c
HE
13882013-12-02 Helmut Eller <eller.helmut@gmail.com>
1389
1390 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1391 (debugger-mode-map): Bind it.
1392 (debugger--backtrace-base): New function.
1393 (debugger-eval-expression): Use it.
1394 (debugger-frame-number): Skip local vars when present.
1395 (debugger--locals-visible-p, debugger--insert-locals)
1396 (debugger--show-locals, debugger--hide-locals): New functions.
1397
a8a15d9d
MA
13982013-12-02 Michael Albinus <michael.albinus@gmx.de>
1399
1400 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1401 "LC_ALL".
1402 (tramp-get-remote-locale): New defun.
1403 (tramp-open-connection-setup-interactive-shell): Use it.
1404
0518b057
LL
14052013-12-02 Leo Liu <sdl.web@gmail.com>
1406
1407 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1408
1409 * progmodes/sh-script.el (sh-shell-process):
1410 * progmodes/octave.el (inferior-octave-process-live-p):
1411 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1412 (gdb-inferior-io-sentinel):
1413 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1414
3adc9c6d
DG
14152013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1416
1417 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1418 `save-selected-window' to `log-edit-hide-buf'. This makes
1419 `log-edit-show-files' idempotent.
1420 (log-edit-show-files): Mark the new window as dedicated.
1421
47e8b74e
DG
14222013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1423
1424 * vc/log-edit.el (log-edit-mode-map): Add binding for
1425 `log-edit-kill-biffer'.
1426 (log-edit-hide-buf): Add a FIXME comment.
1427 (log-edit-add-new-comment): New function, extracted from
1428 `log-edit-done'.
1429 (log-edit-done, log-edit-add-to-changelog): Use it.
1430 (log-edit-kill-buffer): New command.
1431
1f6e1bb0
LMI
14322013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1433
1434 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1435 instead of killing the buffer.
1436
fb651d15
SM
14372013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1438
1439 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1440
8feacce0
RS
14412013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1442
fb651d15 1443 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 1444 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
1445 (eww-form-checkbox, eww-toggle-checkbox):
1446 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1447
e0eb0550 1448 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 1449 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 1450 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
1451 no :src tag was specified.
1452
fb651d15 1453 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
1454 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1455 Use \\` to match beginning of string instead of ^.
1456 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 1457 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 1458
177948a5
RS
1459 * net/shr.el (shr-tag-video): Display content for video if no
1460 poster is available.
eb2dd24d 1461 (shr-tag-audio): Add support for <audio> tag.
177948a5 1462
e0eb0550 1463 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
1464 (eww-process-text-input): Treat input types in
1465 `eww-text-input-types' as text.
1466
8feacce0
RS
1467 * net/shr.el (shr-tag-table): Fix comment typo.
1468
513562a1
LMI
14692013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1470
1471 * net/eww.el (eww-follow-link): New command to avoid reloading
1472 pages when we follow #target links (bug#15243).
de8a5633 1473 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1474
9dd99753
KN
14752013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1476
1477 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1478 forms.
1479
3e9876de
LMI
14802013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1481
1482 * net/eww.el (eww-restore-history): Update the window title after
1483 moving in the history.
ab6dea82 1484 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1485
52789f7f
DG
14862013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1487
1488 * vc/log-edit.el (log-edit-mode-map): Add binding for
1489 `log-edit-beginning-of-line'.
1490 (log-edit-setup-add-author): New user option.
1491 (log-edit-beginning-of-line): New command.
1492 (log-edit): Move major mode call above the contents setup so that
1493 the local variable values are already applied.
1494 (log-edit): Only insert "Author: " when
1495 `log-edit-setup-add-author' is non-nil.
1496 (log-edit): When SETUP is non-nil, position point after ": "
1497 instead of point-min.
1498
2e6710c3
GM
14992013-12-01 Glenn Morris <rgm@gnu.org>
1500
1501 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1502
fadec31f
EZ
15032013-11-30 Eli Zaretskii <eliz@gnu.org>
1504
1505 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1506 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1507 visible. (Bug#16014)
1508
10634b40 15092013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1510
1511 Support resizing frames and windows pixelwise.
1512 * cus-start.el (frame-resize-pixelwise)
1513 (window-resize-pixelwise): New entries.
1514 * emacs-lisp/debug.el (debug): Use window-total-height instead
1515 of window-total-size.
1516 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1517 * help.el (describe-bindings-internal): Call help-buffer
1518 (temp-buffer-max-width): New option.
1519 (resize-temp-buffer-window, help-window-setup)
1520 (with-help-window): Rewrite.
1521 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1522 dragging dividers.
1523 * window.el (frame-char-size, window-min-pixel-height)
1524 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1525 (window-min-pixel-width, window-safe-min-pixel-size)
1526 (window-combination-p, window-safe-min-size)
1527 (window-resizable-p, window--size-to-pixel)
1528 (window--pixel-to-size, window--resize-apply-p): New functions.
1529 (window-safe-min-height): Fix doc-string.
1530 (window-size, window-min-size, window--min-size-1)
1531 (window-sizable, window-sizable-p, window--min-delta-1)
1532 (window-min-delta, window--max-delta-1, window-max-delta)
1533 (window--resizable, window--resizable-p, window-resizable)
1534 (window-full-height-p, window-full-width-p, window-at-side-p)
1535 (window--in-direction-2, window-in-direction)
1536 (window--resize-reset-1, window--resize-mini-window)
1537 (window-resize, window-resize-no-error)
1538 (window--resize-child-windows-normal)
1539 (window--resize-child-windows, window--resize-siblings)
1540 (window--resize-this-window, window--resize-root-window)
1541 (window--resize-root-window-vertically)
1542 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1543 (maximize-window, minimize-window, delete-window)
1544 (quit-restore-window, window-split-min-size, split-window)
1545 (balance-windows-2, balance-windows)
1546 (balance-windows-area-adjust, balance-windows-area)
1547 (window--state-get-1, window-state-get, window--state-put-1)
1548 (window--state-put-2, window-state-put)
fb651d15
SM
1549 (display-buffer-record-window, window--display-buffer):
1550 Make functions handle pixelwise sizing of windows.
880e6158 1551 (display-buffer--action-function-custom-type)
fb651d15
SM
1552 (display-buffer-fallback-action):
1553 Add display-buffer-in-previous-window.
880e6158
MR
1554 (display-buffer-use-some-window): Resize window to height it had
1555 before.
1556 (fit-window-to-buffer-horizontally): New option.
1557 (fit-frame-to-buffer): Describe new values.
1558 (fit-frame-to-buffer-bottom-margin): Replace with
1559 fit-frame-to-buffer-margins.
1560 (window--sanitize-margin): New function.
1561 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1562 using window-text-pixel-size.
1563
f9b697dd
GM
15642013-11-30 Glenn Morris <rgm@gnu.org>
1565
3e2fb4db
GM
1566 * emacs-lisp/bytecomp.el (byte-compile-form):
1567 Make the `interactive-only' warning like the `obsolete' one.
1568 * comint.el (comint-run):
1569 * files.el (insert-file-literally, insert-file):
1570 * replace.el (replace-string, replace-regexp):
1571 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1572 (goto-line, insert-buffer, next-line, previous-line):
1573 Tweak `interactive-only' spec.
1574
f9b697dd
GM
1575 Stop keeping (most) generated cedet grammar files in the repository.
1576 * Makefile.in (semantic): New.
1577 (compile-main): Depend on semantic.
1578
da048127
SM
15792013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1580
7784b779
SM
1581 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1582 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1583
4e36a6a6
SM
1584 * uniquify.el (uniquify-buffer-name-style): Change default.
1585
1586 * loadup.el: Preload "uniquify".
1587
e0ba1308
SM
1588 * time.el (display-time-update): Update all mode lines (bug#15999).
1589
da048127
SM
1590 * electric.el (electric-indent-mode): Enable by default.
1591 * loadup.el: Preload "electric".
1592
015b3b3e
BB
15932013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1594
1595 * emacs-lisp/helpers.el (string-empty-p): New function.
1596 (string-blank-p): New function.
1597
7efb806d
AP
15982013-11-29 Andreas Politz <politza@hochschule-trier.de>
1599
1600 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1601 (Bug#14029).
1602
c8f0efc2
AP
16032013-11-29 Andreas Politz <politza@fh-trier.de>
1604 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1605 allow non-lambda lists as functions.
1606 (imenu--in-alist): Don't recurse into non-subalists.
1607 (imenu): Don't pass function itself as an argument (Bug#14029).
1608
bd15d9d1
SM
16092013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1610
1611 * progmodes/python.el (python-mode-map): Remove binding for ":".
1612 (python-indent-electric-colon): Remove command.
1613 (python-indent-post-self-insert-function): Integrate the previous code
1614 of python-indent-electric-colon. Make it conditional on
1615 electric-indent-mode.
1616 (python-mode): Add ?: to electric-indent-chars.
1617 Move python-indent-post-self-insert-function to the end of
1618 post-self-insert-hook.
1619
1b10adb6
SM
16202013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1621
655ab9a3
SM
1622 * doc-view.el (doc-view-goto-page): Update mode-line.
1623
1b10adb6
SM
1624 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1625
7e3bf78c
GM
16262013-11-27 Glenn Morris <rgm@gnu.org>
1627
1628 * international/charprop.el, international/uni-bidi.el:
1629 * international/uni-category.el, international/uni-combining.el:
1630 * international/uni-comment.el, international/uni-decimal.el:
1631 * international/uni-decomposition.el, international/uni-digit.el:
1632 * international/uni-lowercase.el, international/uni-mirrored.el:
1633 * international/uni-name.el, international/uni-numeric.el:
1634 * international/uni-old-name.el, international/uni-titlecase.el:
1635 * international/uni-uppercase.el:
1636 Remove generated files from VCS repository.
1637
fb6a5d68
EZ
16382013-11-27 Eli Zaretskii <eliz@gnu.org>
1639
1640 * filenotify.el (file-notify-add-watch): Don't special-case
1641 w32notify when computing the directory to watch.
1642
cb6c95a3
GM
16432013-11-27 Glenn Morris <rgm@gnu.org>
1644
20372d0c
GM
1645 Make bootstrap without generated uni-*.el files possible again.
1646 * loadup.el: Update command-line-args checking for unidata-gen.
1647 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1648 * composite.el, international/characters.el:
1649 Handle unicode tables being undefined.
1650
52d6635f 1651 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
1652 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1653 (compile-main): Depend on leim rule.
1654 (leim): New rule.
1655 * loadup.el: Move leim-list.el to leim/ subdirectory.
1656 * startup.el (normal-top-level): No more leim directory.
1657 * international/ja-dic-cnv.el (skkdic-convert):
1658 Disable version-control and autoloads in output files.
1659 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1660 Disable version-control and autoloads in output files.
1661 * leim/quail: Move here from ../leim.
1662 * leim/quail/hangul.el (hangul-input-method-activate):
1663 Add autoload cookie.
1664 (generated-autoload-load-name): Set file-local value.
1665 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1666 (generated-autoload-load-name): Set file-local value.
1667
7514d3f8 16682013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 1669
e0eb0550 1670 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 1671 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 1672 (eww-quit): Ask confirmation before quitting eww.
e47112ee 1673
0e2c793f
EZ
16742013-11-26 Eli Zaretskii <eliz@gnu.org>
1675
1676 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1677 reading output from Diff on MS-Windows and MS-DOS.
1678
447bdcb8
BB
16792013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1680
1681 * emacs-lisp/helpers.el (string-reverse): New function.
1682
5fbf6856
MA
16832013-11-26 Michael Albinus <michael.albinus@gmx.de>
1684
1685 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1686 names on MS Windows, like "/[::1]:".
1687
1688 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1689 SWITCHES.
1690
624780f0
GM
16912013-11-26 Glenn Morris <rgm@gnu.org>
1692
0bf3f0fa
GM
1693 * progmodes/python.el (python-indent-guess-indent-offset):
1694 Avoid corner-case error. (Bug#15975)
1695
624780f0
GM
1696 Preload leim-list.el. (Bug#4789)
1697 * loadup.el: Load leim-list.el when found.
1698 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1699
4301875e 17002013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1701
1702 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1703
4301875e
BB
1704 * emacs-lisp/helpers.el (string-join): New function.
1705
1633a815 17062013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1707
1708 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1709 Mark as obsolete and replace it with a symbol property.
1710 (byte-compile-form): Use new 'interactive-only property.
1711 * comint.el, files.el, replace.el, simple.el:
1712 Apply new 'interactive-only properly.
1713
00139435
MR
17142013-11-25 Martin Rudalics <rudalics@gmx.at>
1715
1716 * window.el (display-buffer-at-bottom): Make sure that
1717 split-window-sensibly creates the new window on bottom
1718 (Bug#15961).
1719
5f5b128d
DK
17202013-11-23 David Kastrup <dak@gnu.org>
1721
1722 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1723 on the conflict markers when available.
1724 (smerge--get-marker): New function.
1725 (smerge-end-re, smerge-base-re): Add subgroup.
1726
623891e5
SM
17272013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1728
1729 * frame.el (handle-focus-in, handle-focus-out): Add missing
1730 interactive spec.
1731
05ca27d8
MA
17322013-11-25 Michael Albinus <michael.albinus@gmx.de>
1733
1734 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1735 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1736
511fa0d3
SM
17372013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1738
e82ad66c
SM
1739 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1740 (gomoku--last-pos): New var.
1741 (gomoku--intangible-chars): New const.
1742 (gomoku--intangible): New function.
1743 (gomoku-mode): Use it. Derive from special-mode.
1744 (gomoku-move-up): Adjust line count.
1745 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1746 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1747 Simplify accordingly.
1748
511fa0d3
SM
1749 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1750 Remove blink-cursor code.
1751 (blink-cursor-timer-function, blink-cursor-suspend):
1752 Don't special-case GUIs.
1753 (blink-cursor-mode): Use focus-in/out-hook.
1754
6f20dd03
DG
17552013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1756
1757 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1758 work when annotation is invisible (Bug#13886).
1759
431dec31 17602013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1761
1762 * json.el (json-alist-p): Only return non-nil if the alist has
1763 simple keys (Bug#13518).
1764
431dec31 17652013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1766
1767 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1768 when control-statement is the first statement in a buffer (Bug#15956).
1769
ee4f0261
DG
17702013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1771
1772 * imenu.el (imenu-generic-skip-comments-and-strings):
1773 New option (Bug#15560).
1774 (imenu--generic-function): Use it.
1775
c484f866
JS
17762013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1777
e9dc713d
JB
1778 * minibuffer.el (completion--in-region-1): Scroll the correct window.
1779 (Bug#13898)
c484f866 1780
41ce6f70
BB
17812013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1782
b55aea38
BB
1783 * emacs-lisp/helpers.el: Add some string helpers.
1784 (string-trim-left): Removes leading whitespace.
1785 (string-trim-right): Removes trailing whitespace.
1786 (string-trim): Removes leading and trailing whitespace.
1787
41ce6f70
BB
1788 * subr.el (string-suffix-p): New function.
1789
3cfb6af3
GM
17902013-11-23 Glenn Morris <rgm@gnu.org>
1791
1792 * progmodes/python.el (python-shell-send-file):
1793 Add option to delete file when done. (Bug#15647)
1794 (python-shell-send-string, python-shell-send-region): Use it.
1795
c27924b7
IS
17962013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1797
e1b01c7f
IS
1798 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1799 to set buffer-read-only to t, never to nil. (Bug#15938)
1800
c27924b7
IS
1801 * textmodes/tex-mode.el (latex-noindent-environments):
1802 Add safe-local-variable property. (Bug#15936)
1803
17e0445b
GM
18042013-11-23 Glenn Morris <rgm@gnu.org>
1805
92f78ea3
GM
1806 * textmodes/enriched.el (enriched-mode): Doc fix.
1807 * emacs-lisp/authors.el (authors-renamed-files-alist):
1808 Add enriched.doc -> enriched.txt.
1809
17e0445b
GM
1810 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1811
965bb23a
LL
18122013-11-22 Leo Liu <sdl.web@gmail.com>
1813
1814 * progmodes/octave.el (inferior-octave-startup): Spit out error
1815 message.
1816
d19ffd64
BB
18172013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1818
1819 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1820 Improve docstring.
15ba2182
BB
1821 Add :version.
1822 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1823
7a7567d2
LL
18242013-11-22 Leo Liu <sdl.web@gmail.com>
1825
1826 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1827 (Bug#15076)
8c09f64b
LL
1828 (octave-help-mode): Adapt to change to help-mode-finish to use
1829 derived-mode-p on 2013-09-17.
1830 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1831 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1832
724bc265
LL
18332013-11-22 Leo Liu <sdl.web@gmail.com>
1834
1835 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1836 (inferior-octave-startup, inferior-octave-check-process)
1837 (inferior-octave-track-window-width-change)
1838 (octave-completion-at-point, octave-eldoc-function): Use it.
1839 (octave-kill-process): Provide confirmation. (Bug#10564)
1840
38637cca
LL
18412013-11-21 Leo Liu <sdl.web@gmail.com>
1842
511fa0d3
SM
1843 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1844 Fix obsolete variable comment-use-global-state.
38637cca 1845
06e752b4
RS
18462013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1847
511fa0d3
SM
1848 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1849 Add `octave-source-file'.
06e752b4
RS
1850 (octave-source-file): New function. (Bug#15935)
1851
7514d3f8 18522013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
1853
1854 * net/eww.el (eww-local-regex): New variable.
1855 (eww): Use it to detect localhost and similar.
1856
b6ffa04a
LL
18572013-11-21 Leo Liu <sdl.web@gmail.com>
1858
1859 Add completion for command `ag'.
2021a200
LL
1860 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1861 (pcomplete/ag): New function.
e9dc713d 1862 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1863
d1a6bccc
SM
18642013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1865
1866 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1867 (bug#14646).
1868 (make-obsolete): Remove interactive spec.
1869
2df10228
GM
18702013-11-21 Glenn Morris <rgm@gnu.org>
1871
1872 * startup.el (command-line-1): Use path-separator with -L.
1873
86fd16b6
TZ
18742013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1875
1876 * emacs-lisp/package.el (describe-package-1): Add package archive
1877 to shown fields.
1878
0449d6cd 18792013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1880
1881 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1882 Change default to "# encoding: %s" to differentiate it from the
1883 default Ruby encoding comment template.
1884
dc7e8c17 18852013-11-20 era eriksson <era+emacsbugs@iki.fi>
1886
1887 * ses.el (ses-mode): Doc fix. (Bug#14748)
1888
f0cfa5fe
LL
18892013-11-20 Leo Liu <sdl.web@gmail.com>
1890
1891 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1892
826dc7b6
DN
18932013-11-19 Dan Nicolaescu <dann@gnu.org>
1894
1895 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1896 when rebase or bisect are in progress.
1897
a6e3a5d5
XF
18982013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1899
1900 * filenotify.el (file-notify-add-watch): Doc fix.
1901
f130cb76
LL
19022013-11-19 Leo Liu <sdl.web@gmail.com>
1903
e0855d7d
LL
1904 * obsolete/rcompile.el: Mark obsolete.
1905
f130cb76 1906 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
1907 (compilation-goto-locus, compilation-find-file):
1908 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
1909 (Bug#13594)
1910
1911 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
1912 new parameter no-display-ok. Return either a window or nil
1913 but never a non-window value.
f130cb76 1914
1f35d401
SM
19152013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1916
25158c76
SM
1917 * electric.el (electric-indent-mode-map): Remove.
1918 (electric-indent-mode): Change the global-map instead (bug#15915).
1919
1920 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1921 Use add-function.
1f35d401 1922
9bc67baa
SM
19232013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1924
986545b5
SM
1925 * emacs-lisp/nadvice.el (remove-function): Align with
1926 add-function's behavior.
1927
9bc67baa
SM
1928 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1929 (gdb--string-regexp): New constant.
1930 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1931 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1932 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1933 submatch 1.
1934 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1935 Adjust use accordingly.
1936 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1937
56cd894e
AS
19382013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1939
1940 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1941 interpolation curlies (Bug#15914).
1942
014690de
JB
19432013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1944
1945 * calc/calc.el (calc-context-sensitive-enter): New variable.
1946 (calc-enter): Use `calc-context-sensitive-enter'.
1947
7e26a6c3
TZ
19482013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1949
1950 * progmodes/cfengine.el: Version bump.
1951 (cfengine-cf-promises): New defcustom to locate cf-promises.
1952 (cfengine3-vartypes): Add new "data" type.
1953 (cfengine3--current-word): New function to get current name-like
1954 word or its bounds.
1955 (cfengine3--current-function): New function to look up a CFEngine
1956 function's definition.
1957 (cfengine3-format-function-docstring): New function.
1958 (cfengine3-make-syntax-cache): New function.
1959 (cfengine3-documentation-function): New function: ElDoc glue.
1960 (cfengine3-completion-function): New function: completion glue.
1961 (cfengine3-mode): Set `compile-command',
1962 `eldoc-documentation-function', and add to
1963 `completion-at-point-functions'.
1964
355204dd
MA
19652013-11-16 Michael Albinus <michael.albinus@gmx.de>
1966
1967 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1968 `tramp-current-connection'.
1969
43cebc23
DG
19702013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1971
1972 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1973 nil/self/true/false with "end of symbol".
1974
a3fed6ff
BB
19752013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1976
1977 * subr.el (version-regexp-alist): Fix a typo.
1978
e675b3e4
MA
19792013-11-15 Michael Albinus <michael.albinus@gmx.de>
1980
1981 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1982 "en_US.utf8" and "LC_CTYPE" to "".
1983 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1984 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1985
a1f03e89
LL
19862013-11-15 Leo Liu <sdl.web@gmail.com>
1987
1988 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1989
5d9d9451
SM
19902013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1991
58362662
CS
1992 * progmodes/gud.el (ctl-x-map):
1993 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
1994 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1995
6c1bf086
BB
19962013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1997
0d5363c4
BB
1998 * subr.el (version-regexp-alist):
1999 Recognize hg, svn and darcs versions as snapshot versions.
2000
4e9fc48c
BB
2001 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2002 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2003 (ruby--encoding-comment-required-p): Extract from
2004 `ruby-mode-set-encoding'.
2005 (ruby-mode-set-encoding): Add the ability to always insert an
2006 utf-8 encoding comment. Fix and simplify coding comment update
2007 logic.
6c1bf086 2008
2f7e72f8
MA
20092013-11-14 Michael Albinus <michael.albinus@gmx.de>
2010
2011 * net/tramp-gvfs.el (top): Run init code only when
2012 `tramp-gvfs-enabled' is not nil.
2013 (tramp-gvfs-enabled): Check also :system bus.
2014
0f137a73
SM
20152013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2016
2017 Sync with upstream verilog-mode revision 78e66ba.
2018 * progmodes/verilog-mode.el (verilog-end-of-defun)
2019 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2020 (verilog-get-end-of-defun): Remove unused argument.
2021 (verilog-comment-depth): Remove unused local `e'.
2022 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2023 Don't pass arg to verilog-get-end-of-defun.
2024
1c276bdd
GM
20252013-11-14 Glenn Morris <rgm@gnu.org>
2026
2027 * obsolete/assoc.el (aget): Prefix dynamic variable.
2028
2029 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2030
ff6ec81d
SM
20312013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2032
2033 * widget.el, hfy-cmap.el: Remove bogus package version number.
2034
75f777b6
GM
20352013-11-13 Glenn Morris <rgm@gnu.org>
2036
1d43dba1
GM
2037 * replace.el (replace-eval-replacement):
2038 Try to give more helpful error message. (Bug#15836)
2039
ff4b7bd5
GM
2040 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2041 (archive-7z-update): Avoid custom type mismatches.
2042
75f777b6
GM
2043 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2044
11151a06
MA
20452013-11-13 Michael Albinus <michael.albinus@gmx.de>
2046
e675b3e4 2047 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
2048 address can be empty.
2049
2050 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2051 Accept nil SWITCHES.
2052 (tramp-gvfs-handle-write-region): Implement APPEND.
2053
7b08f97e
DG
20542013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2055
2056 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
2057 binary "|" operator and closing block args delimiter.
2058 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
2059 (ruby-smie--implicit-semi-p): Not after "|" operator.
2060 (ruby-smie--closing-pipe-p): New function.
2061 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2062 (ruby-smie-rules): Indent after "|".
2063
f201cf3a
GM
20642013-11-12 Glenn Morris <rgm@gnu.org>
2065
2066 * ps-print.el (ps-face-attribute-list):
2067 Handle anonymous faces. (Bug#15827)
2068
e6f759f9
MR
20692013-11-12 Martin Rudalics <rudalics@gmx.at>
2070
2071 * window.el (display-buffer-other-frame): Fix doc-string.
2072 (Bug#15868)
2073
ecda65d4
SM
20742013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2075
2076 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2077
7ce8fcc3
MA
20782013-11-11 Michael Albinus <michael.albinus@gmx.de>
2079
2080 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2081 (tramp-sh-handle-file-local-copy): Don't write a message when
2082 saving temporary files.
2083
2084 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2085 both directories are remote.
2086 (tramp-smb-handle-directory-files): Do not return double entries.
2087 Do not expand full file names.
2088 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2089 (tramp-smb-handle-write-region): Implement APPEND.
2090 (tramp-smb-get-stat-capability): Fix a stupid bug.
2091
7818df11
SM
20922013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2093
2094 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2095
608c2085
NT
20962013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2097
2098 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2099 throwing error over malformed let/let* (bug#15814).
2100
122a7e46
SM
21012013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2102
2103 * iswitchb.el (iswitchb-mode): Mark obsolete.
2104
766284d9
GM
21052013-11-11 Glenn Morris <rgm@gnu.org>
2106
2107 * international/uni-bidi.el, international/uni-category.el:
2108 * international/uni-name.el, international/uni-numeric.el:
2109 Regenerate for Unicode 6.3.0.
2110
7072a4e9
MA
21112013-11-10 Michael Albinus <michael.albinus@gmx.de>
2112
2113 * net/tramp.el (tramp-methods):
2114 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2115 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2116
c9df215b
AS
21172013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2118
608c2085
NT
2119 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2120 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 2121
fa47d796
DG
21222013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2123
2124 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 2125 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
2126 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2127 (ispell-complete-word): Call `ispell-lookup-words' with the value
2128 independent of `ispell-look-p'.
2129
1629a329
DG
21302013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2131
2132 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2133 Not after "||".
2134 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2135 their parent.
2136
ad16897c
SM
21372013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2138
2139 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2140 (ruby-font-lock-keywords): Use backquote.
2141
ffa2df72
DG
21422013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2143
2144 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2145 (ruby-smie--backward-token): Only consider full-string matches.
2146
5b97b4c0
JD
21472013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2148
2149 * faces.el (describe-face): Add distant-foreground.
2150
71731c03
BB
21512013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2152
4e9fc48c
BB
2153 * progmodes/ruby-mode.el: Improve encoding comment handling.
2154 (ruby-encoding-magic-comment-style): New option.
2155 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
2156 (ruby--insert-coding-comment, ruby--detect-encoding):
2157 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
2158 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2159 to control the style of the auto-inserted encoding comment.
71731c03 2160
da3b328d
DG
21612013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2162
ad16897c
SM
2163 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2164 Use `smie-backward-sexp' with token argument.
da3b328d 2165
1606c2d3
MA
21662013-11-08 Michael Albinus <michael.albinus@gmx.de>
2167
2168 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2169 Remove instrumentation code.
2170
b0f4c320
GM
21712013-11-08 Glenn Morris <rgm@gnu.org>
2172
2173 * progmodes/autoconf.el (autoconf-mode):
2174 Tweak comment-start-skip. (Bug#15822)
2175
43668fb1
SM
21762013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2177
2178 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2179 at bobp (bug#15826).
2180 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2181
daddb3fd
DH
21822013-11-08 Darren Hoo <darren.hoo@gmail.com>
2183
2184 * man.el (Man-start-calling): New macro, extracted from
2185 Man-getpage-in-background.
2186 (Man-getpage-in-background): Use it.
2187 (Man-update-manpage): New command.
2188 (Man-mode-map): Bind it.
2189
1f923923
DG
21902013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2191
2192 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2193 of "and", "or", "&&" and "||".
2194 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2195 argument. Prohibit opening curly brace because it could only be a
2196 block opener in that position.
daddb3fd
DH
2197 (ruby-smie--forward-token, ruby-smie--backward-token):
2198 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
2199 arguments.
2200 (ruby-smie--indent-to-stmt): New function, seeks the end of
2201 previous statement or beginning of buffer.
2202 (ruby-smie-rules): Use it.
2203 (ruby-smie-rules): Check if there's a ":" before a curly block
2204 opener candidate; if there is, it's a hash.
2205
3220d527
SM
22062013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2207
2208 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2209 (cl--block-wrapper): Fix last accidental change.
2210
1eb1f9e0
MA
22112013-11-07 Michael Albinus <michael.albinus@gmx.de>
2212
2213 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2214 Instrument, in order to hunt failure on hydra.
2215
e6e4db3c
NT
22162013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2217
2218 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2219 malformed bindings form (bug#15814).
2220
b420ccfc
DG
22212013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2222
2223 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
2224 "." compared to " @ ". This incidentally fixes some indentation
2225 examples with "do".
e6e4db3c 2226 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
2227 (ruby-smie-grammar): New tokens: "and" and "or".
2228 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2229 Exclude "and" and "or". Remove "do" in order to work around token
2230 priorities.
2231 (ruby-smie-rules): Add all infix tokens. Handle the case of
2232 beginning-of-buffer.
b420ccfc 2233
6b4ac03e
GM
22342013-11-06 Glenn Morris <rgm@gnu.org>
2235
2236 * Makefile.in (setwins_almost, setwins_for_subdirs):
2237 Avoid accidental matches.
2238
5ca114d1
SM
22392013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2240
2241 * menu-bar.el (popup-menu): Use key-binding.
2242
f72552bd
EZ
22432013-11-06 Eli Zaretskii <eliz@gnu.org>
2244
2245 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2246 menus, support also the menus produced by minor modes.
2247 (Bug#15817)
2248
5d5c701e
LL
22492013-11-06 Leo Liu <sdl.web@gmail.com>
2250
2251 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 2252 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 2253
0a8b75e2
GM
22542013-11-06 Glenn Morris <rgm@gnu.org>
2255
2256 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
2257 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2258 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2259
a35287ea
SM
22602013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2261
feca4e2d
SM
2262 * electric.el (electric-indent-just-newline): New command.
2263 (electric-indent-mode-map): New keymap.
2264 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2265 Re-add :group which weren't redundant.
2266
a35287ea
SM
2267 * electric.el (electric-indent-local-mode): New minor mode.
2268 (electric-indent-functions-without-reindent): New var.
2269 (electric-indent-post-self-insert-function): Use it.
2270 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2271
375761b2
EZ
22722013-11-05 Eli Zaretskii <eliz@gnu.org>
2273
9a6ad735
EZ
2274 * international/quail.el (quail-help): Be more explicit about the
2275 meaning of the labels shown on the keys. (Bug#15800)
2276
375761b2
EZ
2277 * startup.el (normal-top-level): Load the subdirs.el files before
2278 setting the locale environment. (Bug#15805)
2279
520a6e4a
SM
22802013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2281
0acfafef
SM
2282 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2283 via arguments so as to get the right ones (bug#15418).
2284
520a6e4a
SM
2285 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2286
15826261
MA
22872013-11-05 Michael Albinus <michael.albinus@gmx.de>
2288
2289 Fix problems found while writing a test suite.
2290
2291 * net/tramp-compat.el (tramp-compat-load): New defun.
2292 * net/tramp.el (tramp-handle-load): Use it.
2293
2294 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2295 "(numberp ok-if-already-exists)" correctly.
2296
d35f31a4
XF
22972013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2298
2299 * international/characters.el (glyphless-char-display-control):
2300 Add usage note.
2301
ae93bc74
BB
23022013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2303
520a6e4a
SM
2304 * progmodes/python.el (python-mode):
2305 * progmodes/scheme.el (scheme-mode):
2306 * progmodes/prolog.el (prolog-mode):
2307 * progmodes/ruby-mode.el (ruby-mode):
2308 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2309 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2310
0ade65b5
SM
23112013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2312
a0d5f7a4
SM
2313 * rect.el (rectangle--highlight-for-redisplay):
2314 * emacs-lisp/smie.el (smie--next-indent-change):
2315 Use buffer-chars-modified-tick.
2316
c93f3f5c
SM
2317 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2318
0ade65b5
SM
2319 * electric.el (electric-indent-post-self-insert-function):
2320 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2321
ef9dd188
HE
23222013-11-04 Helmut Eller <eller.helmut@gmail.com>
2323
2324 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2325
306e7308
NT
23262013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2327
2328 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2329 (bug#15786).
2330
e5afbcac
SM
23312013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2332
1d01ad41
SM
2333 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2334
e5afbcac
SM
2335 * progmodes/python.el: Fix up last change.
2336 (python-shell--save-temp-file): New function.
2337 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2338 `string' comes from the current buffer.
2339 (python-shell-send-string-no-output): Remove `msg' arg.
2340 (python--use-fake-loc): New var.
2341 (python-shell-buffer-substring): Obey it. Try to compensate for the
2342 extra coding line added by python-shell--save-temp-file.
2343 (python-shell-send-region): Use python-shell--save-temp-file and
2344 python-shell-send-file directly. Add `nomain' argument.
2345 (python-shell-send-buffer): Use python-shell-send-region.
2346 (python-electric-pair-string-delimiter): New function.
2347 (python-mode): Use it.
2348
d0065ff1
EZ
23492013-11-04 Eli Zaretskii <eliz@gnu.org>
2350
2351 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2352 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2353 environment and decoding all of the default-directory's to here
2354 from command-line.
2355 (command-line): Decode also argv[0].
2356
2357 * loadup.el: Error out if default-directory is a multibyte string
2358 when we are dumping.
2359
2360 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2361
7397c587
TZ
23622013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2363
2364 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2365 (package-menu--print-info, package-menu--archive-predicate):
2366 Add Archive column to package list.
7397c587 2367
b27cc9fc
MA
23682013-11-04 Michael Albinus <michael.albinus@gmx.de>
2369
2370 Fix problems found while writing a test suite.
2371
2372 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2373 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2374 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2375 to nil when running original file name handler. Otherwise,
2376 there are problems with constructs like "$$FOO".
2377
2378 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2379 for `localname'.
2380
d8c4f18a
BB
23812013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2382
7b530552
BB
2383 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2384
2385 * subr.el (version<, version<=, version=):
2386 Update docstrings with information for snapshot versions.
2387
d8c4f18a
BB
2388 * helpers.el: New library for misc helper functions.
2389 (hash-table-keys): New function returning a list of hash keys.
2390 (hash-table-values): New function returning a list of hash values.
2391
dca01b09
DG
23922013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2393
2394 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2395 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2396
0a749fa0
MN
23972013-11-04 Michal Nazarewicz <mina86@mina86.com>
2398
2399 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2400 checking whether point is after a 1-letter word.
2401
24022013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
2403
2404 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2405 Don't infloop when expanding region over `multiline' syntax-type that
2406 begins a line (bug#15778).
2407
4aca7145
SM
24082013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2409
2410 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2411 Make it into a proper minor mode.
2412 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2413 (rectangle-mark-mode-map): New keymap.
2414 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2415
a0833f62
GM
24162013-11-04 Glenn Morris <rgm@gnu.org>
2417
2418 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2419
e61845c1
SM
24202013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2421
2422 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2423 (ruby-smie-rules): Use smie-rule-parent instead.
2424
2425 * emacs-lisp/smie.el (smie-rule-parent): Always call
2426 smie-indent-virtual rather than only for hanging tokens.
2427 (smie--next-indent-change): New helper command.
2428
62942f89
GM
24292013-11-03 Glenn Morris <rgm@gnu.org>
2430
2431 * Makefile.in (abs_srcdir): Remove.
2432 (emacs): Unset EMACSLOADPATH.
2433
b0b9e592
GM
24342013-11-02 Glenn Morris <rgm@gnu.org>
2435
18ba6a33 2436 * Makefile.in (EMACS): Use a relative filename.
8061810d 2437 (abs_top_builddir): Remove.
18ba6a33
GM
2438 (custom-deps, finder-data, autoloads): Use --chdir.
2439
6a8b929e
GM
2440 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2441
c617f3d0
GM
2442 Use relative filenames in TAGS files.
2443 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2444 (lisptagsfiles4, TAGS): Use relative file names.
2445 (TAGS-LISP): Remove.
2446 (maintainer-clean): No more TAGS-LISP file.
2447
b0b9e592
GM
2448 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2449 (lisptagsfiles4): Use absolute filenames again.
2450 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2451 Remove all *loaddefs files, not just the first. Remove esh-groups.
2452 (maintainer-clean): Delete TAGS, TAGS-LISP.
2453
d1c0ea6a
BB
24542013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2455
e61845c1
SM
2456 * emacs-lisp/package.el (package-version-join):
2457 Recognize snapshot versions.
d1c0ea6a 2458
684d71c6
BB
24592013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2460
2461 * subr.el (version-regexp-alist): Add support for snapshot versions.
2462
3d42b968
DG
24632013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2464
e61845c1
SM
2465 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2466 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2467 skip over our direct parent if it's an assignment token..
2468 (ruby-smie-rules): Use it.
2469
7ffd3721
DG
24702013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2471
8449dd1f 2472 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
2473 unconditionally. Remove now unnecessary forward declarations.
2474 Remove XEmacs-specific setup.
2475 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2476 (ruby-font-lock-syntactic-keywords)
2477 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2478 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2479 (ruby-here-doc-end-syntax): Remove.
2480 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2481 defined as function.
2482
a3996a2e
BB
24832013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2484
2485 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2486
6f9260e8
BB
24872013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2488
2489 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2490 table and abbrev table, `define-derived-mode' does that for us
2491 anyway.
2492
6014de84
GM
24932013-11-01 Glenn Morris <rgm@gnu.org>
2494
2495 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2496 files is atomic for some time, so no parallel compilation issues).
2497
3c334c14
JD
24982013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2499
2500 * faces.el (face-x-resources): Add :distant-foreground.
2501 (region): Use :distant-foreground for gtk and ns.
2502
9bc236c8
TH
25032013-11-01 Tassilo Horn <tsdh@gnu.org>
2504
5246583b 2505 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2506 BibTeX.
2507 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2508 (reftex-locate-bibliography-files): Us it.
2509
d14c81ee
CB
25102013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2511
0e7690de
CB
2512 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2513 allow comments in pbm files.
2514
d14c81ee
CB
2515 * term/w32-win.el (dynamic-library-alist): Support newer versions
2516 of libjpeg starting with v7: look only for the DLL from the
2517 version against which Emacs was built.
ac1bf374 2518 Support versions of libpng beyond 1.4.x.
019c8218 2519 Support libtiff v4.x.
d14c81ee 2520
983d0df5
BB
25212013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2522
2523 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2524 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2525 Add property :safe.
2526 (ruby-deep-arglist): Add property :type.
2527
47f58d85
GM
25282013-10-31 Glenn Morris <rgm@gnu.org>
2529
2530 * Makefile.in (custom-deps, finder-data): No need to setq the target
2531 variables, we are in the right directory and the defaults work fine.
2532
4f85b479
GM
25332013-10-30 Glenn Morris <rgm@gnu.org>
2534
ca7dd4cd
GM
2535 * Makefile.in (autoloads): Do not use abs_lisp.
2536
4f85b479
GM
2537 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2538 `newline' does not respect `standard-output', so use `princ'.
2539
cf59e41c
AA
25402013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2541
2542 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2543 * buff-menu.el (Buffer-menu--unmark): New function.
2544 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2545
74cf04fb
GM
25462013-10-30 Glenn Morris <rgm@gnu.org>
2547
b040b60e
GM
2548 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2549
f53d3815
GM
2550 * emacs-lisp/package.el (lm-homepage): Declare.
2551
5413d873
GM
2552 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2553 Fix doc typos.
2554
cecedb36
GM
2555 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2556
74cf04fb
GM
2557 * Makefile.in (finder-data, autoloads, update-subdirs)
2558 (compile-main, compile-clean, compile-always, bootstrap-clean):
2559 Check return value of cd.
2560 (compile-calc): Remove.
2561
195ee2f0
SM
25622013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2563
ae4002ce
SM
2564 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2565
2566 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2567 (byte-compile-and-folded): New function.
2568 (=, <, >, <=, >=): Use it.
2569
2570 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2571 (path-separator, null-device, buffer-file-coding-system)
2572 (lpr-headers-switches): Check system-type before modifying them.
2573 (find-buffer-file-type-coding-system): Mark obsolete.
2574 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2575 find-file-not-found-set-buffer-file-coding-system.
2576 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2577 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2578 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2579 (w32-direct-print-region-helper, w32-direct-print-region-function)
2580 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2581 * startup.el (normal-top-level-add-subdirs-to-load-path):
2582 * ps-print.el (ps-print-region-function):
2583 * lpr.el (print-region-function): Use new name.
2584
53b39e89
SM
2585 * subr.el (custom-declare-variable-early): Remove function.
2586 (custom-declare-variable-list): Remove var.
2587 (error, user-error): Remove `while' loop.
2588 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2589 (user-emacs-directory-warning, locate-user-emacs-file):
2590 Move to files.el.
2591 * simple.el (read-quoted-char-radix, read-quoted-char):
2592 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2593 Move from subr.el.
2594 * custom.el (custom-declare-variable-list): Don't process
2595 custom-declare-variable-list.
2596
195ee2f0
SM
2597 * progmodes/python.el (python-shell-get-buffer): New function.
2598 (python-shell-get-process): Use it.
2599 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2600 Python which encoding was used. Don't split-string since we only care
2601 about the first line. Return the temp-file, if applicable.
2602 (python-shell-send-region): Tell compile.el how to turn locations in
2603 the temp-file into locations in the source buffer.
2604
7e3561ee
SM
26052013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2606
4c9797cb
SM
2607 * subr.el (undefined): Add missing behavior from the C code for
2608 unbound keys.
2609
3472b6c6
SM
2610 * rect.el: Use lexical-binding. Add new rectangular region support.
2611 (rectangle-mark): New command.
2612 (rectangle--region): New var.
2613 (deactivate-mark-hook): Reset rectangle--region.
2614 (rectangle--extract-region, rectangle--insert-for-yank)
2615 (rectangle--highlight-for-redisplay)
2616 (rectangle--unhighlight-for-redisplay): New functions.
2617 (region-extract-function, redisplay-unhighlight-region-function)
2618 (redisplay-highlight-region-function): Use them to handle
2619 rectangular region.
2620 * simple.el (region-extract-function): New var.
2621 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2622 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2623 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2624 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2625 (redisplay-unhighlight-region-function)
2626 (redisplay-highlight-region-function): New vars.
2627 (redisplay--update-region-highlight): New function.
2628 (pre-redisplay-function): Use it.
2629 (exchange-point-and-mark): Don't deactivate the mark before
2630 reactivate-it anyway.
2631 * comint.el (comint-kill-region): Remove yank-handler argument.
2632 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2633 (delete-char): Remove property, since it's now part of their
2634 default behavior.
2635 (self-insert-iso): Remove property since this command doesn't exist.
2636
7e3561ee
SM
2637 * emacs-lisp/package.el (package--download-one-archive)
2638 (describe-package-1): Don't query the user about final newline.
2639
b9bef71f
DC
26402013-10-29 Daniel Colascione <dancol@dancol.org>
2641
2642 * net/tramp.el (tramp-methods): Document new functionality.
2643 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2644 tramp-hostname-checker if method provides one instead of scanning
2645 argument list for "%h" to decide hostname acceptability.
2646
4efc33f0
MA
26472013-10-28 Michael Albinus <michael.albinus@gmx.de>
2648
2649 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2650 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2651 Handle COPY-CONTENTS. (Bug#15737)
2652
ed42a877
DU
26532013-10-28 Daiki Ueno <ueno@gnu.org>
2654
2655 * epa-file.el
7e3561ee
SM
2656 (epa-file-cache-passphrase-for-symmetric-encryption):
2657 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 2658
18c9f8a2
XF
26592013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2660
7a4bc7be
XF
2661 * image.el (defimage):
2662 (image-load-path): Doc fixes.
18c9f8a2 2663
b1e8e010
AM
26642013-10-27 Alan Mackenzie <acm@muc.de>
2665
2666 Indent statements in macros following "##" correctly.
7e3561ee
SM
2667 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2668 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 2669
73d40d1e 26702013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
2671
2672 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2673
c8c605ac
DG
26742013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2675
2676 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2677 after `=' is probably a new expression.
2678
ca7e59d4
RS
26792013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2680
2681 * man.el (man-imenu-title): New option.
2682 (Man-mode-map): Add menu. (Bug#15722)
2683 (Man-mode): Add imenu to menu.
2684
bae91342
DG
26852013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2686
2687 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2688 specific in what the first arg can be: a non-keyword word,
2689 string/regexp/percent literal opener, opening paren, or unary
2690 operator followed directly by word.
2691
eb89dc14
SM
26922013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2693
2694 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2695 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2696 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2697 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2698 Remove vars, they do not apply any more.
2699 (prolog-mode-abbrev-table): Remove redundant declaration.
2700 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2701 (prolog-use-smie): Remove.
2702 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2703 supported by prolog-electric-if-then-else-flag.
2704 (prolog-mode-variables, prolog-menu): Use setq-local.
2705 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2706 Remove binding to `Backspace' since this key doesn't exist anyway.
2707 Remove bindings for electric self-inserting keys.
2708 (prog-mode): Assume it's defined.
2709 (prolog-post-self-insert): New function.
2710 (prolog-mode): Use it.
2711 (prolog-indent-line, prolog-indent-level)
2712 (prolog-find-indent-of-matching-paren)
2713 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2714 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2715 (prolog-goto-next-paren, prolog-in-string-or-comment)
2716 (prolog-tokenize, prolog-inside-mline-comment)
2717 (prolog-find-start-of-mline-comment): Remove functions.
2718 (prolog-find-unmatched-paren, prolog-clause-end)
2719 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2720 (prolog-electric--if-then-else): Rename from
2721 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2722 (prolog-tokenize-searchkey): Remove const.
2723 (prolog-clause-info): Use forward-sexp.
2724 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2725 (prolog-electric-if-then-else): Remove commands.
2726 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2727 for use in post-self-insert-hook.
2728 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2729 for use in post-self-insert-hook.
2730 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2731 for use in post-self-insert-hook.
2732 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2733 adapt it for use in post-self-insert-hook.
2734
3dab0a83
MA
27352013-10-25 Michael Albinus <michael.albinus@gmx.de>
2736
2737 * emacs-lisp/ert.el (ert-run-tests-interactively):
2738 Use `completing-read'. (Bug#9756)
2739
fbfd0e1d
EZ
27402013-10-25 Eli Zaretskii <eliz@gnu.org>
2741
2742 * simple.el (line-move): Call line-move-1 instead of
2743 line-move-visual when the current window hscroll is zero, but
2744 temporary-goal-column indicates we will need to hscroll as result
2745 of the movement. (Bug#15712)
2746
963ce636
DG
27472013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2748
2749 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2750 capitalization. Use :visible instead of :active.
2751 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2752 commands that are used with SMIE.
2753 (ruby-do-end-to-brace): Insert space after `{'.
2754
a0be396a
JA
27552013-10-25 John Anthony <john@jo.hnanthony.com>
2756
f73754c9
JA
2757 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2758
2759 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2760
f5bf77df
GM
27612013-10-25 Glenn Morris <rgm@gnu.org>
2762
2763 * vc/vc.el (vc-print-log): Don't use a working revision unless
2764 one was explicitly specified. (Bug#15322)
2765
37241f62
SM
27662013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2767
2768 * subr.el (add-to-list): Preserve return value in compiler-macro
2769 (bug#15692).
2770
6408a65d
RS
27712013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2772
2773 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2774 result. Ask user to retry using '-all' flag. (Bug#15701)
2775
71e3276b
SM
27762013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2777
2778 * emacs-lisp/smie.el: New smie-config system.
2779 (smie-config): New defcustom.
2780 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2781 (smie-config-guess, smie-config-save): New commands.
2782 (smie-config--mode-local, smie-config--buffer-local)
2783 (smie-config--trace, smie-config--modefuns): New vars.
2784 (smie-config--advice, smie-config--mode-hook)
2785 (smie-config--setter, smie-config-local, smie-config--get-trace)
2786 (smie-config--guess-value, smie-config--guess): New functions.
2787 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2788 text properties. Treat "string fence" syntax like string syntax.
2789
2790 * progmodes/sh-script.el (sh-use-smie): Change default.
2791 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2792 (sh-var-value): Simplify by CSE.
2793 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2794 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2795 is used.
2796 (sh-guess-basic-offset): Use cl-incf.
2797 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2798
60db713e
HE
27992013-10-24 Helmut Eller <eller.helmut@gmail.com>
2800
2801 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2802 (bug#15699).
2803
8b251df6
GM
28042013-10-24 Glenn Morris <rgm@gnu.org>
2805
2806 * Makefile.in (abs_top_srcdir): Remove.
2807 (update-subdirs): Use relative path to update-subdirs.
2808
6be0e22b
EZ
28092013-10-24 Eli Zaretskii <eliz@gnu.org>
2810
2811 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2812 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2813 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2814 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2815
50b5b857
MA
28162013-10-24 Michael Albinus <michael.albinus@gmx.de>
2817
2818 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2819 (ert-test-skipped): New error.
2820 (ert-skip, ert-stats-skipped): New defuns.
2821 (ert--skip-unless): New macro.
2822 (ert-test-skipped): New struct.
2823 (ert--run-test-debugger, ert-test-result-type-p)
2824 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2825 (ert--stats-set-test-and-result, ert-char-for-test-result)
2826 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2827 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2828 Handle skipped tests. (Bug#9803)
50b5b857 2829
6f317c2f
GM
28302013-10-24 Glenn Morris <rgm@gnu.org>
2831
e43817c1
GM
2832 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2833
6f317c2f
GM
2834 * Makefile.in (abs_top_srcdir): New, set by configure.
2835 (update-subdirs): Correct build-aux location.
2836
369bbf71
DG
28372013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2838
8297b2cf
DG
2839 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2840 value, whether we could auto-deduce `backend', or not.
2841
369bbf71
DG
2842 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2843 with parameters" example. Simplify the "is it block or is it
2844 hash" check, but also make it more thorough.
2845
d5f1282f
MF
28462013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2847
2848 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2849
bc4aaa31
SM
28502013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2851
03d44565
SM
2852 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2853 { if it is hanging.
2854
bc4aaa31
SM
2855 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2856 :before ";".
2857
f493ff19
JB
28582013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2859
2860 * progmodes/compile.el (compilation-directory-matcher)
2861 (compilation-page-delimiter):
2862 Support GNU Make-4.0 directory quoting. (Bug#15678)
2863
c744a3b9
LL
28642013-10-23 Leo Liu <sdl.web@gmail.com>
2865
2866 * ido.el (ido-tidy): Handle read-only text.
2867
b8e3b0a9
GM
28682013-10-23 Glenn Morris <rgm@gnu.org>
2869
2870 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2871 (emacs, compile, compile-always):
2872 Quote entities that might contain whitespace.
2873 (custom-deps, finder-data, autoloads): Use abs_lisp.
2874 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2875 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2876 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2877
ee4282cd
DG
28782013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2879
bc4aaa31
SM
2880 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2881 Use `following-char'.
7790a270 2882
ee4282cd 28832013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2884
2885 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2886 * progmodes/ruby-mode.el (ruby-smie-rules):
2887 Remove corresponding workaround. Fix indentation rule of ";" so it
2888 also applies when ";" is the parent.
2889
d40a46d7
XF
28902013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2891
2892 * frame.el (display-screens, display-pixel-height)
2893 (display-pixel-width, display-mm-width, display-backing-store)
2894 (display-save-under, display-planes, display-color-cells)
7790a270
SM
2895 (display-visual-class, display-monitor-attributes-list):
2896 Mention the optional ‘display’ argument in doc strings.
d40a46d7 2897
a0f143c9
MG
28982013-10-22 Michael Gauland <mikelygee@amuri.net>
2899
2900 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2901 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2902
18cacc39
DG
29032013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2904
2905 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2906 TODO. Add "." after " @ ".
2907 (ruby-smie--at-dot-call): New function. Checks if point at method
2908 call with explicit target.
2909 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2910 to the method name tokens when it precedes them.
2911 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2912 (ruby-smie-rules): Add rule for indentation before and after "."
2913 token.
2914
df74c4be
SM
29152013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2916
c6dab55f
SM
2917 * textmodes/remember.el (remember-diary-extract-entries):
2918 Avoid add-to-list.
2919
df74c4be
SM
2920 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2921 an instruction.
2922
8c1ae481
DG
29232013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2924
e9dc713d
JB
2925 * progmodes/ruby-mode.el (ruby-smie-grammar):
2926 Add (almost) all infix operators.
cfef16c0
DG
2927 (ruby-smie--implicit-semi-p): Add new operator chars.
2928
8c1ae481
DG
2929 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2930 `smie-down-list'.
2931 (ruby-smie--args-separator-p): Check that there's no newline
2932 between method call and its arguments.
2933
87756ca9
AM
29342013-10-20 Alan Mackenzie <acm@muc.de>
2935
2936 Allow comma separated lists after Java "implements".
2937
df74c4be
SM
2938 * progmodes/cc-engine.el (c-backward-over-enum-header):
2939 Parse commas.
87756ca9
AM
2940 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2941 from a "disallowed" list in enum fontification.
2942
c25f8957
JB
29432013-10-20 Johan Bockgård <bojohan@gnu.org>
2944
df74c4be 2945 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 2946
c25f8957
JB
2947 * progmodes/verilog-mode.el (verilog-mode): Don't set
2948 comment-indent-function globally.
2949
aca5fcdc
JD
29502013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2951
5f161884
JD
2952 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2953 Move Info menu item creation to ns-win.el.
2954
2955 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2956 in menu bar.
2957
aca5fcdc
JD
2958 * menu-bar.el: Move GNUStep specific menus...
2959
2960 * term/ns-win.el (ns-initialize-window-system): ... to here.
2961
914b7f98
SM
29622013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2963
2964 * simple.el (newline): Only run post-self-insert-hook when
2965 called interactively.
2966
846ffe77
JB
29672013-10-19 Johan Bockgård <bojohan@gnu.org>
2968
2969 * icomplete.el (icomplete-with-completion-tables): Add :version.
2970
033f22dd
AM
29712013-10-19 Alan Mackenzie <acm@muc.de>
2972
2973 Fix fontification bugs with constructors and const.
2974
2975 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2976 CASE 2) Remove the check for the absence of a suffix construct
2977 after a function declaration with only types (no identifiers) in
2978 the parentheses. Also, accept a function declaration with just a
2979 type inside the parentheses, if this type can be positively
2980 recognised as such, or if a prefix keyword like "explicit" nails
2981 down the construct as a declaration.
2982
58ce0cfc
EZ
29832013-10-19 Eli Zaretskii <eliz@gnu.org>
2984
2985 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2986 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2987 the problem whereby selecting a menu item that leads to a
2988 minibuffer prompt moves the cursor out of the minibuffer window,
2989 making it hard to type at the prompt. Suggested by Stefan Monnier
2990 <monnier@iro.umontreal.ca>.
2991
50e28e7d
JD
29922013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2993
2994 * menu-bar.el: Don't make Services menu.
2995
7deed4bf
RS
29962013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2997
2998 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2999 (ffap-alist): Use ffap-c++-mode for c++-mode.
3000 (ffap-c++-path): New variable.
3001 (ffap-c++-mode): New function.
3002
7bcb455b
JVJ
30032013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3004
3005 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3006
f0ff1cd5
MA
30072013-10-18 Michael Albinus <michael.albinus@gmx.de>
3008
3009 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3010 introduced on 2013-09-08, which results in an infinite loop
3011 requesting a password.
3012
d64da4b7
GM
30132013-10-18 Glenn Morris <rgm@gnu.org>
3014
3015 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3016
ea89ff08
WS
30172013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3018
3019 Sync with upstream verilog-mode revision 1a6ecec7.
3020 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3021 (verilog-mode-release-date): Remove.
3022 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3023 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3024 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3025 (verilog-auto-tieoff-ignore-regexp)
3026 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3027 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3028 (verilog-signals-with, verilog-dir-cache-preserving)
3029 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3030 Doc fixes.
3031 (verilog-case-fold): New option, to control case folding in
3032 regexp searches, bug597.
3033 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3034 (verilog-string-match-fold, verilog-in-paren-count)
3035 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3036 (verilog-at-close-struct-p): New functions.
3037 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3038 (verilog-forward-sexp, verilog-set-auto-endcomments):
3039 (verilog-leap-to-case-head): Handle "unique0" case.
3040 (verilog-in-constraint-re): New constant.
3041 (verilog-keywords, verilog-type-font-keywords):
3042 Add some SystemVerilog 1800-2012 keywords.
3043 (verilog-label-be): Remove unimplemented argument, bug669.
3044 (verilog-batch-execute-func): When batch expanding clear
3045 create-lockfiles to prevent spurious user locks when a file ends
3046 up not changing.
3047 (verilog-calculate-indent, verilog-calc-1)
3048 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3049 (verilog-do-indent): Fix indentation of nested constraints
3050 and structures.
3051 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3052 (verilog-auto-inst-param): Use verilog-string-match-fold.
3053 (verilog-read-inst-module-matcher):
3054 Fix AUTOINST on gate primitives with #1.
3055 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3056 Reads all user-defined typed variables.
3057 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3058 (verilog-signals-matching-regexp)
3059 (verilog-signals-not-matching-regexp, verilog-auto):
3060 Respect verilog-case-fold.
3061 (verilog-diff-report): Fix line count.
3062 (verilog-auto-assign-modport): Remove unused local `modi'.
3063 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3064 better handle multidimensional arrays.
3065 Fix packed array ports misadding bit index in AUTOINST, bug637.
3066 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3067 to not double-declare existing outputs and inputs, respectively.
3068 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3069 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3070 (verilog-sk-uvm-component): New skeleton.
3071 (verilog-submit-bug-report): Add verilog-case-fold,
3072 remove verilog-mode-release-date.
3073
ef566920
BR
30742013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3075
3076 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3077 as before.
3078
29df8a0b
RT
30792013-10-18 Reuben Thomas <rrt@sc3d.org>
3080
e0eb0550 3081 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
3082 remember buffers (bug#13566).
3083
04a19a79
DC
30842013-10-18 Daniel Colascione <dancol@dancol.org>
3085
3086 When evaluating forms in ielm, direct standard output to ielm
3087 buffer. Add new ielm-return-for-effect command. Remove trailing
3088 whitespace throughout.
3089
3090 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3091 (ielm-return-for-effect): New command.
3092 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
3093 (ielm-eval-input): Accept optional `for-effect' parameter.
3094 Bind `standard-output' to stream we create using
04a19a79
DC
3095 `ielm-standard-output-impl'. Suppress printing result when
3096 `for-effect'.
3097 (ielm-standard-output-impl): New function.
3098 (inferior-emacs-lisp-mode): Explain new features in documentation.
3099
4c1f03ef
MA
31002013-10-17 Michael Albinus <michael.albinus@gmx.de>
3101
3102 Code cleanup.
3103
3104 * net/tramp.el (tramp-debug-message): Do not check for connection
3105 buffer.
3106 (tramp-message): Use "vector" connection property.
3107
3108 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3109 (tramp-equal-remote, tramp-eshell-directory-change)
3110 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3111 (tramp-adb-handle-rename-file)
3112 * net/tramp-cmds.el (tramp-list-remote-buffers)
3113 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3114 * net/tramp-compat.el (tramp-compat-process-running-p)
3115 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3116 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3117 (tramp-gvfs-handle-rename-file)
3118 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3119 (tramp-set-file-uid-gid)
3120 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3121 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3122 of `file-remote-p'.
3123
3124 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3125 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3126 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3127 (tramp-gw-open-network-stream): Suppress unrelated traces.
3128
3129 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3130 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3131 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3132 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3133 connection property.
3134
3135 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 3136 persistency file.
4c1f03ef
MA
3137
3138 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3139 Refactor common code. Improve debug message.
3140 (tramp-maybe-open-connection)
3141 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3142 connection buffer too early.
3143
3144 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3145 from `tramp-smb-actions-with-acl'.
3146 (tramp-smb-actions-set-acl): New defconst.
3147 (tramp-smb-handle-copy-directory)
3148 (tramp-smb-action-get-acl): New defun, renamed from
3149 `tramp-smb-action-with-acl'.
3150 (tramp-smb-action-set-acl): New defun.
3151 (tramp-smb-handle-set-file-acl): Rewrite.
3152
642eb8b6
GM
31532013-10-17 Glenn Morris <rgm@gnu.org>
3154
3155 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3156
85527ff3
SM
31572013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3158
921c1d62
SM
3159 * skeleton.el (skeleton-newline): Remove.
3160 (skeleton-internal-1): Use (insert "\n") instead.
3161
e333fb10
SM
3162 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3163 let-bindings.
3164
85527ff3
SM
3165 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3166 forward-sexp-function while we redo its job (bug#15613).
3167
c8722a97
JB
31682013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3169
3170 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3171 represented by lists.
3172
7a550bbb
GM
31732013-10-16 Glenn Morris <rgm@gnu.org>
3174
3175 * tmm.el (tmm--history): New dynamic variable.
3176 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3177
f19da8ad
MA
31782013-10-16 Michael Albinus <michael.albinus@gmx.de>
3179
3180 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3181 (tramp-smb-errors): Add error messages.
3182 (tramp-smb-actions-with-acl): New defconst.
3183 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3184 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3185 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3186 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3187 (tramp-smb-get-stat-capability): Fix tests.
3188
a24b9961
DK
31892013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3190
3191 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3192 (bug#15580).
3193
62ad85e6
GM
31942013-10-16 Glenn Morris <rgm@gnu.org>
3195
0283d6b0
GM
3196 * ansi-color.el (ansi-color-drop-regexp):
3197 Add 1J, 1K, 2K. (Bug#15617)
3198
012e2f9f
GM
3199 * files.el (hack-local-variables--warned-lexical): New.
3200 (hack-local-variables):
3201 Warn about misplaced lexical-binding. (Bug#15616)
3202
62ad85e6
GM
3203 * net/eww.el (eww-render): Always set eww-current-url,
3204 and update header line. (Bug#15622)
3205 (eww-display-html): ... Rather than just doing it here.
3206
6456c0ea
EZ
32072013-10-15 Eli Zaretskii <eliz@gnu.org>
3208
3209 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3210 menu navigations commands.
3211
c2de5588
DK
32122013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3213
3214 * progmodes/subword.el (subword-capitalize): Be careful when
3215 the search for [[:alpha:]] fails (bug#15580).
3216
ccd4a783
EZ
32172013-10-14 Eli Zaretskii <eliz@gnu.org>
3218
3219 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3220 to commands that scroll the menu.
3221
1eda1d8d
DG
32222013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3223
c2de5588
DK
3224 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3225 Handle methods ending with `?' and `!'.
1eda1d8d 3226
e70181b8
AM
32272013-10-14 Akinori MUSHA <knu@iDaemons.org>
3228
3229 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3230 `japanese-cp932' to `cp932' to fix the problem where saving a
3231 source file written in Shift_JIS twice would end up having
3232 `coding: japanese-cp932' which Ruby could not recognize.
3233 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3234 in `ruby-encoding-map'.
3235 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3236 doesn't need to be explicitly declared in magic comment.
3237 (ruby-encoding-map): Add type declaration for better customize UI.
3238
9148ee92
GM
32392013-10-13 Glenn Morris <rgm@gnu.org>
3240
a5d38e34
GM
3241 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3242 Occur buffers are read-only. http://bugs.debian.org/720775
3243
9148ee92
GM
3244 * emacs-lisp/authors.el (authors-fixed-entries):
3245 Comment out old alpha stuff.
3246
a9ba094b
DG
32472013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3248
3249 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3250 to `after-save-hook' instead of `before-save-hook'.
3251 (ruby-mode-set-encoding): Use the value of coding system used to
3252 write the file. Call `basic-save-buffer-1' after modifying the
3253 buffer.
3254
7a068717
AM
32552013-10-13 Alan Mackenzie <acm@muc.de>
3256
3257 Fix indentation/fontification of Java enum with
3258 "implements"/generic.
3259
c2de5588
DK
3260 * progmodes/cc-engine.el (c-backward-over-enum-header):
3261 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3262 (c-inside-bracelist-p): Uses new function above.
3263 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3264 function above.
3265 (c-font-lock-enum-tail): Uses new function above.
3266
85b64f02
KH
32672013-10-13 Kenichi Handa <handa@gnu.org>
3268
3269 * international/mule-cmds.el (select-safe-coding-system): Remove a
3270 superfluous condition in chekcing whether a coding system is safe
3271 or not.
3272
fc7f501b
OK
32732013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3274
3275 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3276
fdcb2049
AP
32772013-10-13 Andreas Politz <politza@hochschule-trier.de>
3278
3279 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3280
8c106d17
GM
32812013-10-13 Glenn Morris <rgm@gnu.org>
3282
feab892d
GM
3283 * menu-bar.el (menu-bar-update-buffers):
3284 Unify Buffers menu prompt string. (Bug#15576)
3285
b22d0686
GM
3286 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3287
8c106d17
GM
3288 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3289 Add some entries.
3290 (authors-fixed-entries): Use accented form of name.
3291
1b12c797
SM
32922013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3293
650fa7bf 3294 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3295 method calls (bug#15594).
650fa7bf
SM
3296 (ruby-smie--args-separator-p): New function.
3297 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3298 recognize paren-free method calls.
3299
1b12c797
SM
3300 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3301 internals of universal-argument.
3302
029619c8
EZ
33032013-10-11 Eli Zaretskii <eliz@gnu.org>
3304
3305 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3306 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3307 dropped menu on second mouse click on the menu bar.
029619c8 3308
dd070019
SM
33092013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3310
3311 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3312 (explicit-shell-file-name): Declare.
3313 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3314 (sh-completion-at-point-function): New function.
3315 (sh-mode): Use it.
3316 (sh-smie--keyword-p): Remove unused argument.
3317 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3318 vars.
3319 (sh-set-shell): Always setup SMIE, even if we use the
3320 old indentation code.
3321
0922b826
DG
33222013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3323
b68e2926
DG
3324 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3325 cases of ? and =.
3326 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3327 predicate would return nil are almost non-existent.
3328 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3329
0922b826
DG
3330 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3331 cache also after commands that modify the buffer but don't move
3332 point.
3333
ee041f2d
SM
33342013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3335
3336 * env.el (substitute-env-in-file-name): New function.
3337 (substitute-env-vars): Extend the meaning of the optional arg.
3338
a5dab159
EZ
33392013-10-10 Eli Zaretskii <eliz@gnu.org>
3340
3341 * term/w32-win.el (dynamic-library-alist): Define separate lists
3342 of GIF DLLs for versions before and after 5.0.0 of giflib.
3343 (Bug#15531)
3344
0449d6cd 33452013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3346
3347 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3348 not locked, use last revision and current source as
3349 defaults. (Bug#15569)
3350
2f6e161e
MY
33512013-10-10 Masatake YAMATO <yamato@redhat.com>
3352
3353 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3354 menu-bar is hidden.
3355
6c8413fc
MR
33562013-10-10 Martin Rudalics <rudalics@gmx.at>
3357
3358 * window.el (pop-to-buffer-same-window): Fix doc-string.
3359 (Bug#15492)
3360
20832de0
SM
33612013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3362
3363 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3364
c6e8ae77
AC
33652013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3366
3367 * calendar/icalendar.el (icalendar-import-file):
3368 Fix interactive spec. (Bug#15482)
3369
9db13baf
GM
33702013-10-10 Glenn Morris <rgm@gnu.org>
3371
9271e90e
GM
3372 * desktop.el (desktop-save): Default to saving in .emacs.d,
3373 since PWD is no longer in desktop-path by default. (Bug#15319)
3374
9db13baf
GM
3375 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3376 now that text mode has a menu with the same entry.
3377 (menu-bar-text-mode-auto-fill): Remove now unused func.
3378 * textmodes/text-mode.el (text-mode-map):
3379 Use auto-fill help text from menu-bar.el.
3380
a0be396a 33812013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3382
3383 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3384
2edcd3c7
JL
33852013-10-09 Juri Linkov <juri@jurta.org>
3386
3387 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3388 instead of this-command-keys. Add universal-argument-more and
3389 universal-argument-minus to the list of prefix commands. (Bug#15568)
3390
574411d0
GM
33912013-10-09 Glenn Morris <rgm@gnu.org>
3392
14afa541
GM
3393 * vc/vc-svn.el (vc-svn-create-repo):
3394 Expand paths in file://... url. (Bug#15446)
3395
574411d0
GM
3396 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3397 Add some entries.
3398 (authors): Remove unused local variables.
3399
79804536
SM
34002013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3401
3402 * profiler.el: Create a more coherent calltree from partial backtraces.
3403 (profiler-format): Hide the tail with `invisible' so that C-s can still
3404 find the hidden elements.
3405 (profiler-calltree-depth): Don't recurse so enthusiastically.
3406 (profiler-function-equal): New hash-table-test.
3407 (profiler-calltree-build-unified): New function.
3408 (profiler-calltree-build): Use it.
3409 (profiler-report-make-name-part): Indent the calltree less.
3410 (profiler-report-mode): Add visibility specs for profiler-format.
3411 (profiler-report-expand-entry, profiler-report-toggle-entry):
3412 Expand the whole subtree when provided with a prefix arg.
3413
238150c8
DG
34142013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3415
3416 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3417 iuwu-mod token.
3418 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3419 hanging iuwu-mod token.
3420 (ruby-smie--forward-token): Do not include a dot after a token in
3421 that token.
3422 (ruby-smie--backward-token): Likewise.
3423
b0949cc4
JL
34242013-10-08 Juri Linkov <juri@jurta.org>
3425
3426 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3427 to isearch-other-control-char.
3428 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3429 and isearch-post-command-hook to post-command-hook.
3430 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3431 and isearch-post-command-hook from post-command-hook.
3432 (isearch-unread-key-sequence)
3433 (isearch-reread-key-sequence-naturally)
3434 (isearch-lookup-scroll-key, isearch-other-control-char)
3435 (isearch-other-meta-char): Remove functions.
3436 (isearch-pre-command-hook, isearch-post-command-hook):
3437 New functions based on isearch-other-meta-char rewritten
3438 relying on the new behavior of overriding-terminal-local-map
3439 that does not replace the local keymaps any more. (Bug#15200)
3440
4ed77415
EZ
34412013-10-08 Eli Zaretskii <eliz@gnu.org>
3442
3443 Support menus on text-mode terminals.
3444 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3445 functionality.
3446
3447 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3448
c2de5588
DK
3449 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3450 Move here from mouse.el.
4ed77415
EZ
3451 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3452 and arrow keys.
3453 (tty-menu-navigation-map): New map for TTY menu navigation.
3454
3455 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3456
3457 * frame.el (display-mouse-p): Report text-mode mouse as available
3458 on w32.
3459 (display-popup-menus-p): Report availability if mouse is
3460 available; don't condition on window-system.
3461
3462 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3463 (tty-menu-selected-face): New faces.
3464
b7d5bd82
TL
34652013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3466
06286513
SM
3467 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3468 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3469 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3470 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3471 New constants.
3472 (lisp-mode-variables): New `elisp' argument.
3473 (emacs-lisp-mode): Use it.
3474 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3475 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3476
b7d5bd82
TL
3477 * indent.el: Use lexical-binding.
3478 (indent-region): Add progress reporter.
3479 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3480 last step.
3481 (indent--next-tab-stop): New function to implement this behavior.
3482 (tab-to-tab-stop, move-to-tab-stop): Use it.
3483
34842013-10-08 Teemu Likonen <tlikonen@iki.fi>
3485
3486 * indent.el (indent-rigidly--current-indentation): New function.
3487 (indent-rigidly-map): New var.
3488 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3489
5ea75d23
BG
34902013-10-08 Bastien Guerry <bzg@gnu.org>
3491
3492 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3493
cc5da1ec
SM
34942013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3495
8ffa1a0b
SM
3496 * progmodes/perl-mode.el: Use lexical-binding.
3497 Remove redundant :group args.
3498 (perl-nochange): Change default to be closer to other major modes's
3499 standard behavior.
3500 (perl-indent-line): Don't consider text on current line as a
3501 valid beginning of function from which to indent.
3502
f2223371
SM
3503 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3504 with more than one argument (bug#15538).
3505
44256060
SM
3506 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3507
cc5da1ec
SM
3508 * vc/pcvs.el: Use lexical-binding.
3509 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3510 environment of `eval'.
3511 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3512 than a list of expressions. Adjust callers.
3513 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3514
0ea1599d
DG
35152013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3516
3517 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3518 case of the dot in a chained method call being on the following line.
0ea1599d 3519
da3e5ebb
SM
35202013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3521
2abb4e65
SM
3522 * electric.el (electric-indent-inhibit): New var.
3523 (electric-indent-post-self-insert-function): Use it.
3524 * progmodes/python.el (python-mode): Set it.
3525
d2e0e795
SM
3526 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3527 open braces.
3528
3529 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3530
bdc6b4c8
SM
3531 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3532 (css-mode): Use electric-indent-chars.
3533
da3e5ebb
SM
3534 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3535 (font-lock-beg, font-lock-end): Move before first use.
3536 (nxml-mode): Use syntax-propertize-function.
3537 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3538 (nxml-extend-after-change-region): Remove.
3539 * nxml/xmltok.el: Use lexical-binding.
3540 (xmltok-save): Use `declare'.
3541 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3542 * nxml/nxml-util.el: Use lexical-binding.
3543 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3544 Use `declare'.
3545 * nxml/nxml-ns.el: Use lexical-binding.
3546 (nxml-ns-save): Use `declare'.
3547 (nxml-ns-prefixes-for): Avoid add-to-list.
3548 * nxml/rng-match.el: Use lexical-binding.
3549 (rng--ipattern): Use cl-defstruct.
3550 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3551 (rng-cons-group-after, rng-subst-group-after)
3552 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3553 Use closures instead of `(lambda...).
3554
f8f91d5d
MA
35552013-10-07 Michael Albinus <michael.albinus@gmx.de>
3556
3557 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3558 of BEG and END.
3559
da3e5ebb
SM
3560 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3561 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
3562 (tramp-gvfs-handle-insert-file-contents): Remove function.
3563
da3e5ebb
SM
3564 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3565 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
3566
3567 * net/trampver.el: Update release number.
3568
7ccae3b1
SM
35692013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3570
55ca2c0d
SM
3571 * progmodes/compile.el (compilation-parse-errors):
3572 Use compilation--put-prop.
3573 (compilation--ensure-parse): Check compilation-multiline.
3574
731fc3ae
SM
3575 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3576
da3e5ebb
SM
3577 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3578 lexical-binding.
a5833280 3579
2e7ba2c2
SM
3580 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3581
7ccae3b1
SM
3582 * progmodes/ruby-mode.el: Fix recently added tests.
3583 (ruby-smie-grammar): Add - and +.
3584 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3585 (ruby-smie--backward-id): New functions.
3586 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3587 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3588 any more.
3589
85698d63
LL
35902013-10-07 Leo Liu <sdl.web@gmail.com>
3591
3592 * register.el (register-preview-delay)
3593 (register-preview-functions): New variables.
3594 (register-read-with-preview, register-preview)
3595 (register-describe-oneline): New functions.
3596 (point-to-register, window-configuration-to-register)
3597 (frame-configuration-to-register, jump-to-register)
3598 (number-to-register, view-register, insert-register)
3599 (copy-to-register, append-to-register, prepend-to-register)
3600 (copy-rectangle-to-register): Use register-read-with-preview to
3601 read register. (Bug#15525)
3602
3986af6c
DS
36032013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3604
3605 * net/network-stream.el (network-stream-open-starttls): Don't add
3606 --insecure if it's already present, because that gnutls-cli
3607 rejects getting that parameter twice.
3608
5cd9cda9
DG
36092013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3610
3611 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3612 keyword, too.
3613
da9ea6d9
DG
36142013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3615
3616 * newcomment.el (comment-use-global-state): Change default value
3617 to t, mark obsolete (Bug#15251).
3618 (comment-beginning): In addition to `comment-to-syntax', check the
3619 value of `comment-use-global-state'.
3620
34d1a133
SM
36212013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3622
3623 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3624 (ruby-comment-column): Follow the global default, by default.
3625 (ruby-smie-grammar): Add assignment syntax.
3626 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3627 open-paren, a comma, or a \.
3628 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3629 and line continuations.
3630 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3631 followed by implicit semi-colons. Add rule for string concatenation
3632 and for indentation at BOB.
3633 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3634
3635 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3636 calling next-sexp, since next-token may have skipped chars which
3637 next-sexp doesn't know should be skipped!
3638
6f6ab820
LL
36392013-10-05 Leo Liu <sdl.web@gmail.com>
3640
34d1a133
SM
3641 * progmodes/octave.el (octave-send-region):
3642 Call compilation-forget-errors.
6f6ab820 3643
34ca0f4c
XF
36442013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3645
3646 * vc/vc-svn.el (vc-svn-find-admin-dir):
3647 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3648 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3649 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3650 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3651
a27c1b72
SM
36522013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3653
3654 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3655
258ab3bc
SM
36562013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3657
3658 * subr.el (read-passwd): Hide chars even when called within a context
3659 where after-change-functions is disabled (bug#15501).
3660 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3661 until we removed ourself from overriding-terminal-local-map.
3662
939fb29c
LL
36632013-10-04 Leo Liu <sdl.web@gmail.com>
3664
258ab3bc
SM
3665 * progmodes/octave.el (inferior-octave-mode):
3666 Call compilation-forget-errors.
939fb29c 3667
63bd7f35
XF
36682013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3669
3670 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3671
9e6229fa
MA
36722013-10-04 Michael Albinus <michael.albinus@gmx.de>
3673
3674 * net/secrets.el (secrets-create-collection): Add optional
3675 argument ALIAS. Use proper Label keyword. Append ALIAS as
3676 dbus-call-method argument. (Bug#15516)
3677
1dab32a3
LL
36782013-10-04 Leo Liu <sdl.web@gmail.com>
3679
3680 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3681 (inferior-octave-compilation-font-lock-keywords): New variables.
3682 (compilation-error-regexp-alist)
3683 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3684 (inferior-octave-mode): Use compilation-shell-minor-mode.
3685
6cad7ba3
JS
36862013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3687
3688 * minibuffer.el (completion--replace): Be careful that `end' might be
3689 a marker.
3690
acbadd00
DU
36912013-10-03 Daiki Ueno <ueno@gnu.org>
3692
3693 Add support for package signature checking.
3694 * emacs-lisp/package.el (url-http-file-exists-p)
3695 (epg-make-context, epg-context-set-home-directory)
3696 (epg-verify-string, epg-context-result-for)
3697 (epg-signature-status, epg-signature-to-string)
3698 (epg-check-configuration, epg-configuration)
3699 (epg-import-keys-from-file): Declare.
3700 (package-check-signature): New user option.
3701 (package-unsigned-archives): New user option.
3702 (package-desc): Add `signed' field.
3703 (package-load-descriptor): Set `signed' field if .signed file exists.
3704 (package--archive-file-exists-p): New function.
3705 (package--check-signature): New function.
3706 (package-install-from-archive): Check package signature.
3707 (package--download-one-archive): Check archive signature.
3708 (package-delete): Remove .signed file.
3709 (package-import-keyring): New command.
3710 (package-refresh-contents): Import default keyring.
3711 (package-desc-status): Add "unsigned" status.
3712 (describe-package-1, package-menu--print-info)
3713 (package-menu-mark-delete, package-menu--find-upgrades)
3714 (package-menu--status-predicate): Support "unsigned" status.
3715
adf2aa61
SM
37162013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3717
3718 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3719 the new compilation scheme using the new byte-codes.
3720
3721 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3722 (byte-pophandler): New byte codes.
3723 (byte-goto-ops): Adjust accordingly.
3724 (byte-compile--use-old-handlers): New var.
3725 (byte-compile-catch): Use new byte codes depending on
3726 byte-compile--use-old-handlers.
3727 (byte-compile-condition-case--old): Rename from
3728 byte-compile-condition-case.
3729 (byte-compile-condition-case--new): New function.
3730 (byte-compile-condition-case): New function that dispatches depending
3731 on byte-compile--use-old-handlers.
3732 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3733 when we can.
3734
3735 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3736 Optimize under `condition-case' and `catch' if
3737 byte-compile--use-old-handlers is nil.
3738 (disassemble-offset): Handle new bytecodes.
3739
328a8179
SM
37402013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3741
3742 * subr.el (error): Use `declare'.
3743 (decode-char, encode-char): Use advertised-calling-convention instead
3744 of the docstring to discourage use of the `restriction' arg.
3745
15a1e936
DU
37462013-10-03 Daiki Ueno <ueno@gnu.org>
3747
3748 * epg.el (epg-verify-file): Add a comment saying that it does not
3749 notify verification error as a return value nor a signal.
3750 (epg-verify-string): Ditto.
3751
376f862a
KR
37522013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3753
3754 * progmodes/compile.el (compilation-start): Try globbing the arg to
3755 `cd' (bug#15417).
3756
a2f93a5f
MA
37572013-10-02 Michael Albinus <michael.albinus@gmx.de>
3758
3759 Sync with Tramp 2.2.8.
3760
3761 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3762 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3763 * net/trampver.el: Update release number.
3764
0daa0804
JD
37652013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3766
3767 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3768 and default-process-coding-system for darwin only.
3769
abd1ae34
SM
37702013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3771
3772 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3773
be4e325d
MH
37742013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3775
3776 * vc/vc-git.el (vc-git-grep): Disable pager.
3777
e9155c4a
DG
37782013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3779
494e898b
DG
3780 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3781 Use :url instead of :homepage, as per
3782 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3783
e9155c4a
DG
3784 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3785 non-nil, use `syntax-ppss' (Bug#15251).
3786
481a8e0f
RS
37872013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3788
be4e325d
MH
3789 * progmodes/octave.el (inferior-octave-startup-file):
3790 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 3791
056453c6
DG
37922013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3793
be4e325d
MH
3794 * emacs-lisp/package.el (package-desc-from-define):
3795 Accept additional arguments as plist, convert them to an alist and store
3796 them in the `extras' slot.
056453c6
DG
3797 (package-generate-description-file): Convert extras alist back to
3798 plist and append to the `define-package' form arguments.
3799 (package--alist-to-plist): New function.
3800 (package--ac-desc): Add `extras' slot.
3801 (package--add-to-archive-contents): Check if the archive-contents
3802 vector is long enough, and if it is, pass its `extras' slot value
3803 to `package-desc-create'.
3804 (package-buffer-info): Call `lm-homepage', pass the returned value
3805 to `package-desc-from-define'.
3806 (describe-package-1): Render the homepage button (Bug#13291).
3807
be4e325d
MH
3808 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3809 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3810
832966e5
JD
38112013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3812
3813 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3814 and default-process-coding-system to utf-8-unix (Bug#15402).
3815
6cfe977d
XF
38162013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3817
3818 * subr.el (looking-back): Do not recommend using looking-back.
3819
38de11bd
AM
38202013-09-28 Alan Mackenzie <acm@muc.de>
3821
3822 Fix indentation/fontification of Java enum with "implements".
3823
3824 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3825 regexp which matches "implements", etc., in Java.
3826 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3827 specifier clauses coming after "enum".
3828 * progmodes/cc-fonts.el (c-font-lock-declarations)
3829 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3830 after "enum".
3831
1610938f
JD
38322013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3833
3834 * faces.el (region): Change ns_selection_color to
3835 ns_selection_fg_color, add ns_selection_bg_color.
3836
e090f499
LL
38372013-09-28 Leo Liu <sdl.web@gmail.com>
3838
4d2e94d1
LL
3839 * progmodes/octave.el (inferior-octave-completion-table)
3840 (inferior-octave-completion-at-point): Minor tweaks.
3841
e090f499
LL
3842 * textmodes/ispell.el (ispell-lookup-words): Rename from
3843 lookup-words. (Bug#15460)
3844 (lookup-words): Obsolete.
3845 (ispell-complete-word, ispell-command-loop): All uses changed.
3846
7e138a62
RS
38472013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3848
3849 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3850 (octave-mode-menu): Add octave-send-buffer.
3851 (octave-send-buffer): New function.
3852
5af5ed08
RS
38532013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3854
3855 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3856 octave-lookfor.
3857 (octave-mode-menu): Add octave-lookfor.
3858 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3859 octave-lookfor.
3860 (octave-lookfor): New function.
3861
3b7b2692
SM
38622013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3863
3864 * emacs-lisp/cl-macs.el:
3865 (cl--loop-destr-temps): Remove.
3866 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3867 its convention.
3868 (cl--loop-set-iterator-function): New function.
3869 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3870 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3871 Bind `it' with `let' instead of substituting it with `cl-subst'.
3872 (cl--unused-var-p): New function.
3873 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3874 Eliminate some unused variable warnings (bug#15326).
3875
529fb53f
TH
38762013-09-27 Tassilo Horn <tsdh@gnu.org>
3877
3878 * doc-view.el (doc-view-scale-reset): Rename from
3879 `doc-view-reset-zoom-level'.
3880 (doc-view-scale-adjust): New command.
3881 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3882 `doc-view-scale-adjust'.
3883
0550c95a
TH
38842013-09-26 Tassilo Horn <tsdh@gnu.org>
3885
3886 * doc-view.el (doc-view-reset-zoom-level): New command.
3887 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3888 zoom commands (bug#15466).
3889
6950f152
KH
38902013-09-26 Kenichi Handa <handa@gnu.org>
3891
3892 * international/quail.el (quail-help): Make it not a command.
3893
39587580
LL
38942013-09-26 Leo Liu <sdl.web@gmail.com>
3895
3896 * minibuffer.el (completion-all-sorted-completions): Make args
3897 optional as they are.
3898
00578659
DC
38992013-09-25 Daniel Colascione <dancol@dancol.org>
3900
3901 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3902 specs are and that they're not evaluated.
3903
0c173878
SS
39042013-09-24 Sam Steingold <sds@gnu.org>
3905
3906 * midnight.el (clean-buffer-list-kill-regexps)
3907 (clean-buffer-list-kill-buffer-names): Update for the new Man
3908 buffer naming which includes the object name.
3909
84998447
SM
39102013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3911
3912 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3913 (eshell-parse-command, eshell-parse-pipeline): Use it since
3914 eshell-separate-commands requires a dynamic scoped var.
3915 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3916
33215353
LL
39172013-09-23 Leo Liu <sdl.web@gmail.com>
3918
3919 * autoinsert.el (auto-insert-alist): Make the value of
3920 lexical-binding match its file setting.
3921
57b16162
JB
39222013-09-23 Juanma Barranquero <lekktu@gmail.com>
3923
c8af4e67
JB
3924 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3925
57b16162
JB
3926 * autoarg.el (autoarg-kp-digit-argument):
3927 * electric.el (Electric-command-loop):
3928 * kmacro.el (kmacro-step-edit-insert):
3929 Do not set universal-argument-num-events.
3930
7186ba60
LL
39312013-09-22 Leo Liu <sdl.web@gmail.com>
3932
3933 * files.el (interpreter-mode-alist): Add octave.
3934
ece15004
AM
39352013-09-21 Alan Mackenzie <acm@muc.de>
3936
3937 C++: fontify identifier in declaration following "public:" correctly.
3938 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3939 to match "public", etc.
3940 (c-decl-prefix-re): Add ":" into the C++ value.
3941 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3942 bit. Add a check for a ":" preceded by "public", etc.
3943
75d83e22
EZ
39442013-09-21 Eli Zaretskii <eliz@gnu.org>
3945
3946 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3947 recognized by GDB 7.5 and later.
3948
d052d3bd
XF
39492013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3950
3951 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3952
31dca772
R
39532013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3954
3955 * subr.el (internal--call-interactively): New const.
3956 (called-interactively-p): Use it (bug#3984).
3957
98ccf24e
XF
39582013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3959
3960 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
3961 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3962 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 3963
c39cc7d1
SM
39642013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3965
3966 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3967 (eshell-ls-orig-insert-directory): Remove.
3968 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3969 (eshell-ls-use-in-dired): Use advice-add/remove.
3970 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3971 Add `orig-fun' arg for use in :around advice.
3972 Make it check (redundantly) eshell-ls-use-in-dired.
3973
9a0289a2
GM
39742013-09-19 Glenn Morris <rgm@gnu.org>
3975
a2c501b8
GM
3976 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3977
c440407a
GM
3978 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3979
9a0289a2
GM
3980 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3981
85e05915
MA
39822013-09-19 Michael Albinus <michael.albinus@gmx.de>
3983
3984 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3985 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3986 (tramp-get-remote-python): New defuns.
3987 (tramp-get-remote-uid-with-perl)
3988 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3989 contributed by yary <not.com@gmail.com> (tiny change).
3990 (tramp-get-remote-uid-with-python)
3991 (tramp-get-remote-gid-with-python): New defuns. Python code
3992 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3993 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3994
ce503312
GM
39952013-09-19 Glenn Morris <rgm@gnu.org>
3996
f7544773
GM
3997 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3998
72fd2877
GM
3999 * eshell/em-unix.el (eshell-remove-entries):
4000 Rename argument to avoid name-clash with global `top-level'.
4001
336b5a56
GM
4002 * eshell/esh-proc.el (eshell-kill-process-function):
4003 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4004 (eshell-reset-after-proc): Remove unused arg `proc'.
4005
57a3a53d
GM
4006 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4007 (directory-files-and-attributes): Mark unused arg.
4008
3261d4af
GM
4009 * eshell/em-unix.el (eshell-remove-entries):
4010 Remove unused arg `path'. Update callers.
4011
8e51b5d0
GM
4012 * eshell/em-hist.el (eshell-hist-parse-arguments):
4013 Remove unused arg `silent'. Update callers.
4014
ce503312
GM
4015 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4016 Fix (f)boundp mix-up.
4017
4018 * eshell/em-smart.el (eshell-smart-scroll-window)
4019 (eshell-disable-after-change):
336b5a56 4020 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 4021
ee3ce8a7
AM
40222013-09-18 Alan Mackenzie <acm@muc.de>
4023
4024 Fix fontification of type when followed by "const".
4025 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4026 "known" types from fontification.
4027
ec9177ba
GM
40282013-09-18 Glenn Morris <rgm@gnu.org>
4029
7bb3e768
GM
4030 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4031 (chart-face-list): Drop Emacsen without display-color-p.
4032
5148da15
GM
4033 * net/eww.el (libxml-parse-html-region): Declare.
4034 (eww-display-html): Explicit error if no libxml2 support.
4035
2f68e157
GM
4036 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4037
9019d095
GM
4038 * image.el (image-type-from-buffer, image-multi-frame-p):
4039 Remove --without-x warning/error.
67645389 4040
5f30349b 4041 * mouse.el (mouse-yank-primary):
45069b2e 4042 * term.el (term-mouse-paste):
5f30349b
GM
4043 Reorder to silence --without-x compilation.
4044
cd8edbbe
GM
4045 * mpc.el (doc-view-mode): Silence --without-x compilation.
4046
8a78544e
GM
4047 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4048 Silence --without-x compilation.
4049
12679bfd
GM
4050 * progmodes/gud.el (gud-find-file, gud-mode):
4051 Silence --without-x compilation.
4052 (tooltip-mode): Declare.
30810a05 4053
f0047cb9
GM
4054 * wdired.el (dired-backup-overwrite): Remove declaration.
4055 (wdired-mode-map): Add doc string.
4056
e740f9d2
GM
4057 * custom.el (x-get-resource): Declare.
4058
92d77c89
GM
4059 * eshell/em-glob.el (ange-cache):
4060 * eshell/em-unix.el (ange-cache): Declare.
4061
76e69577
GM
4062 * faces.el (x-display-list, x-open-connection, x-get-resource):
4063 Declare.
7e58af4b
GM
4064
4065 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4066 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4067 Declare.
76e69577 4068
4bd4c0af 4069 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 4070
ffb82dbd
GM
4071 * net/gnutls.el (gnutls-log-level): Declare.
4072
986ed135
GM
4073 * net/shr.el (image-size, image-animate): Declare.
4074
e740f9d2
GM
4075 * simple.el (font-info): Declare.
4076
d2f3e9f8
GM
4077 * subr.el (x-popup-dialog): Declare.
4078
047a1a4c
GM
4079 * term/common-win.el (x-select-enable-primary)
4080 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4081 Declare.
4082
f4a1d572
GM
4083 * term/ns-win.el (x-handle-args): Declare.
4084
e843de77
GM
4085 * term/x-win.el (x-select-enable-clipboard): Declare.
4086
5fa89513
GM
4087 * term/w32-win.el (create-default-fontset): Declare.
4088
38702b5b
GM
4089 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4090 Declare.
4091
e740f9d2
GM
4092 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4093 (fit-frame-to-buffer): Explicit error if --without-x.
4094 (mouse-autoselect-window-select): Silence compiler.
4095
49a053fc
GM
4096 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4097
4098 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4099 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4100 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 4101 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
4102 Remove unused local variables.
4103
4104 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4105
ec9177ba
GM
4106 * textmodes/two-column.el: Make 2C-split work for --without-x.
4107 (scroll-bar-columns): Autoload.
4108 (top-level): Require fringe when compiling.
4109
9f25cb77
LL
41102013-09-18 Leo Liu <sdl.web@gmail.com>
4111
4112 * subr.el (add-hook): Robustify to handle closure as well.
4113
2b42da98
GM
41142013-09-17 Glenn Morris <rgm@gnu.org>
4115
4116 * simple.el (messages-buffer-mode-map): Unbind "g".
4117
e8b66a6a
SM
41182013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4119
9c0ad4f7
SM
4120 * help-mode.el (help-mode-finish): Use derived-mode-p.
4121 Remove obsolete highlighting.
4122
7a806dfb
SM
4123 * play/life.el (life-mode): Use define-derived-mode. Derive from
4124 special-mode.
4125 (life): Let-bind inhibit-read-only.
4126 (life-setup): Avoid `setq'. Use `life-mode'.
4127
96dbf5a8
SM
4128 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4129 which should not be needed any more.
4130 (package-menu-refresh, package-menu-describe-package): Use user-error.
4131
e8b66a6a
SM
4132 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4133 (eshell-post-rewrite-command-hook): Make obsolete.
4134 (eshell-parse-command): Simplify.
4135 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4136 (eshell--cmd): Declare.
4137 (eshell-parse-pipeline): Remove unused var `final-p'.
4138 Pass a dynvar to eshell-post-rewrite-command-hook.
4139 Implement the new eshell-post-rewrite-command-function.
4140 (eshell-invoke-directly): Remove unused arg `input'.
4141 * eshell/esh-io.el (eshell-io-initialize):
4142 Use eshell-post-rewrite-command-function (bug#15399).
4143 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4144 adjust to new calling convention.
4145 (eshell-create-handles): Rename args to avoid clashing with dynvar
4146 `standard-output'.
4147
90582f05
GM
41482013-09-17 Glenn Morris <rgm@gnu.org>
4149
4150 * simple.el (messages-buffer-mode): New major mode.
4151 (messages-buffer): New function.
4152 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4153 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 4154 (ert-run-test): Use `messages-buffer' function.
90582f05 4155 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
4156 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4157 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 4158
39eb0cb5 41592013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
4160
4161 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4162
1d42e5b6 4163 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 4164
70568a90
SM
41652013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4166
504a0381
SM
4167 * icomplete.el (icomplete-in-buffer): New var.
4168 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4169 vars and replace them with functions.
4170 (icomplete-minibuffer-setup): Adjust accordingly.
4171 (icomplete--completion-table, icomplete--completion-predicate)
4172 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4173 New functions.
4174 (icomplete-forward-completions, icomplete-backward-completions)
4175 (icomplete-simple-completing-p, icomplete-exhibit)
4176 (icomplete-completions): Use them.
4177 (icomplete--in-region-buffer): New var.
4178 (icomplete--in-region-setup): New function.
4179 (icomplete-mode): Use it.
4180
70568a90
SM
4181 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4182 (bug#15379).
4183 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4184 return args and options.
4185 (eshell-eval-using-options): Use the new return value of
4186 eshell--do-opts to set the options's vars in their scope.
4187 (eshell--set-option): Rename from eshell-set-option.
4188 Add arg `opt-vals'.
4189 (eshell--process-option): Rename from eshell-process-option.
4190 Add arg `opt-vals'.
4191 (eshell--process-args): Use an `opt-vals' alist to store the options's
4192 values during their processing and return them additionally to the
4193 remaining args.
4194
578c21bc
DG
41952013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4196
4197 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4198 continuation character an operator, as far as indentation is
4199 concerned (Bug#15369).
4200
c089653d
MR
42012013-09-15 Martin Rudalics <rudalics@gmx.at>
4202
4203 * window.el (window--state-put-2): Don't process buffer state
4204 when buffer doesn't exist any more (Bug#15382).
4205
1e53bb4b
GM
42062013-09-15 Glenn Morris <rgm@gnu.org>
4207
30753242
GM
4208 * eshell/em-unix.el (eshell/rm):
4209 Make -f ignore missing files. (Bug#15373)
4210
1e53bb4b
GM
4211 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4212 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4213 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4214
0d8863b3
GM
42152013-09-14 Glenn Morris <rgm@gnu.org>
4216
4217 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4218
d3fc6549
GM
42192013-09-13 Glenn Morris <rgm@gnu.org>
4220
4221 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4222 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4223
fcd42c11
DA
42242013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4225
4226 * frame.el (x-focus-frame): Mark as declared in frame.c.
4227
7830899f
SM
42282013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4229
4230 * ls-lisp.el: Use advice-add.
4231 (original-insert-directory): Remove.
4232 (ls-lisp--insert-directory): Rename from insert-directory; add
4233 `orig-fun' argument.
4234 (insert-directory): Advise.
4235
84387cd2
EZ
42362013-09-13 Eli Zaretskii <eliz@gnu.org>
4237
4238 * term.el (term-emulate-terminal): Decode the command string
4239 before passing it to term-command-hook. (Bug#15337)
4240
35ffc6ba
GM
42412013-09-13 Glenn Morris <rgm@gnu.org>
4242
5c3f9bcc
GM
4243 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4244
2ada368a
GM
4245 * eshell/esh-ext.el (eshell-search-path): Declare.
4246
fcef2e13
GM
4247 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4248 Otherwise an error occurs if eshell-dirs module not loaded.
4249
35ffc6ba
GM
4250 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4251
35c3d36e
MA
42522013-09-13 Michael Albinus <michael.albinus@gmx.de>
4253
4254 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4255 `tramp-check-proper-host'. Check for a valid method name.
4256
4257 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4258 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4259 * net/tramp-sh.el (tramp-maybe-open-connection):
4260 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4261
4262 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4263 also for hash values.
4264
ae5e4c48
SM
42652013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4266
379add74
SM
4267 * term/ns-win.el (parameters): Don't declare as dynamic.
4268 (before-make-frame-hook): Don't add ineffective function.
4269
ae5e4c48
SM
4270 * eshell/*.el: Use lexical-binding (bug#15231).
4271
b5623270
KH
42722013-09-12 Kenichi Handa <handa@gnu.org>
4273
ae5e4c48 4274 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4275
30213927
GM
42762013-09-12 Glenn Morris <rgm@gnu.org>
4277
be94d713 4278 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4279 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4280
44915370
GM
4281 * subr.el (do-after-load-evaluation): Also give compiler warnings
4282 when obsolete files are used (except by obsolete files).
4283
a6ae021f
GM
4284 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4285 in the status output, assume `filename' is the first. (Bug#15322)
4286
40e64f0c
GM
4287 * vc/vc.el (vc-deduce-fileset): Doc fix.
4288
16d9f896
GM
4289 * calc/calc-help.el (Info-goto-node):
4290 * progmodes/cperl-mode.el (Info-find-node):
4291 * vc/ediff.el (Info-goto-node): Update declarations.
4292
dea01c6e
GM
4293 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4294
759880bf 4295 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4296 (vc-bzr-pull): Require vc-dispatcher.
4297 * vc/vc-git.el (vc-compilation-mode): Declare.
4298 (vc-git-pull): Require vc-dispatcher.
4299
08d66420
GM
4300 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4301
30b626e9
GM
4302 * progmodes/octave.el (help-button-action): Declare.
4303
8c05cb10
GM
4304 * shell.el (shell-directory-tracker): Output error as a message
4305 rather than just returning it as a string.
4306 (shell-process-pushd): Remove useless use of message.
4307
30213927
GM
4308 * dframe.el (dframe-timer-fn):
4309 * files.el (dir-locals-read-from-file):
4310 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4311 (mpc-format):
4312 * reveal.el (reveal-post-command):
4313 * saveplace.el (load-save-place-alist-from-file):
4314 * shell.el (shell-resync-dirs):
4315 * w32-common-fns.el (x-get-selection-value):
4316 * emacs-lisp/copyright.el (copyright-find-copyright):
4317 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4318 * emulation/tpu-edt.el (tpu-copy-keyfile):
4319 * play/bubbles.el (bubbles--mark-neighbourhood):
4320 * progmodes/executable.el
4321 (executable-make-buffer-file-executable-if-script-p):
4322 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4323
d3b049e6
SM
43242013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4325
170266d0
SM
4326 Cleanup Eshell to rely less on dynamic scoping.
4327 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4328 last-value, and ext-command here. Bind `args' closer to `body'.
4329 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4330 (eshell--args): Declare new dynamic var.
4331 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4332 last-value, and ext-command. Pass `args' to `body'.
4333 (eshell-process-args): Bind eshell--args.
4334 (eshell-set-option): Use eshell--args.
4335 * eshell/eshell.el (eshell): Use derived-mode-p.
4336 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4337 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4338 (eshell-glob-function): Declare.
4339 * eshell/esh-util.el: Require cl-lib.
4340 (eshell-read-hosts-file): Avoid add-to-list.
4341 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4342 `err'.
4343 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4344 Declare.
4345 (eshell/diff): Remove unused var `err'.
4346 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4347 `killflag'.
4348 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4349 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4350 first use.
4351 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4352 Move declaration before first use.
4353 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4354 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4355 rely on cl-return.
4356
56834f3b
GM
43572013-09-12 Glenn Morris <rgm@gnu.org>
4358
4359 * term/ns-win.el (global-map): Remove binding for ispell-next,
4360 deleted 1999-05-29. (Bug#15357)
4361
5c91a2b8
GM
43622013-09-11 Glenn Morris <rgm@gnu.org>
4363
da712f22
GM
4364 * echistory.el (electric-command-history): Remove call to deleted func.
4365
512e4cdc
GM
4366 * play/landmark.el (landmark-mode): Fix typos.
4367
d3506ca5
GM
4368 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4369 Check cvs-sort-ignore-file is bound.
4370
5c91a2b8
GM
4371 * savehist.el: No need for cl when compiling on Emacs.
4372
feeff482
SM
43732013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4374
656bd483
SM
4375 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4376 (bug#15338).
d3b049e6
SM
4377 (eshell-self-insert-command, eshell-send-invisible):
4378 Remove unused argument.
656bd483
SM
4379 (eshell-handle-control-codes): Remove unused var `orig'.
4380 Avoid delete-backward-char.
4381
feeff482
SM
4382 * files.el (set-auto-mode): Simplify a bit further.
4383
2a08047a
GM
43842013-09-11 Glenn Morris <rgm@gnu.org>
4385
4386 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4387 (set-auto-mode): Don't regexp-quote elements.
4388 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4389 * progmodes/cc-mode.el (interpreter-mode-alist):
4390 * progmodes/ruby-mode.el (interpreter-mode-alist):
4391 Revert previous change.
4392
34675540
SM
43932013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4394
1b3b87df
SM
4395 * play/snake.el (snake-mode):
4396 * play/mpuz.el (mpuz-mode):
4397 * play/landmark.el (lm-mode):
4398 * play/blackbox.el (blackbox-mode):
4399 * play/5x5.el (5x5-mode):
4400 * obsolete/options.el (Edit-options-mode):
4401 * net/quickurl.el (quickurl-list-mode):
4402 * net/newst-treeview.el (newsticker-treeview-mode):
4403 * mail/rmailsum.el (rmail-summary-mode):
4404 * mail/mspools.el (mspools-mode):
4405 * locate.el (locate-mode):
4406 * ibuffer.el (ibuffer-mode):
4407 * emulation/ws-mode.el (wordstar-mode):
4408 * emacs-lisp/debug.el (debugger-mode):
4409 * array.el (array-mode):
4410 * net/eudc.el (eudc-mode): Use define-derived-mode.
4411 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4412 Move initialization into declaration.
4413 (mairix-searches-mode): Use define-derived-mode.
4414 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4415 (eudc-edit-hotlist): Use dolist.
4416 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4417 (Man-mode): Use define-derived-mode.
4418 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4419 (Info-edit-mode): Use define-derived-mode.
4420 (Info-cease-edit): Use Info-mode.
4421 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4422 into declaration.
4423 (eshell-mode): Use define-derived-mode.
4424 * chistory.el (command-history-mode-map): Rename from
4425 command-history-map.
4426 (command-history-mode): Use define-derived-mode.
da712f22 4427 (Command-history-setup): Remove function.
1b3b87df
SM
4428 * calc/calc.el (calc-trail-mode-map): New var.
4429 (calc-trail-mode): Use define-derived-mode.
4430 (calc-trail-buffer): Set calc-main-buffer manually.
4431 * bookmark.el (bookmark-insert-annotation): New function.
4432 (bookmark-edit-annotation): Use it.
4433 (bookmark-edit-annotation-mode): Make it a proper major mode.
4434 (bookmark-send-edited-annotation): Use derived-mode-p.
4435 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4436 closer to its ideal place. Use \' to match EOS.
4437
34675540
SM
4438 * profiler.el (profiler-calltree-find): Use function-equal.
4439
6a5c15d9
GM
44402013-09-10 Glenn Morris <rgm@gnu.org>
4441
1af4c220
GM
4442 * files.el (interpreter-mode-alist): Convert to regexps.
4443 (set-auto-mode): Adapt for this. (Bug#15306)
4444 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4445 Comment out unused variable.
4446 * progmodes/cc-mode.el (interpreter-mode-alist):
4447 * progmodes/python.el (interpreter-mode-alist):
4448 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4449 * progmodes/sh-script.el (sh-set-shell):
4450 No longer use interpreter-mode-alist to get list of shells.
4451
6a5c15d9
GM
4452 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4453
8c27f5ff
SM
44542013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4455
02ef6c1a 4456 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 4457 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
4458 Bind switch-frame explicitly. Replace universal-argument-minus with
4459 a conditional binding.
4460 (universal-argument-num-events, saved-overriding-map): Remove.
4461 (restore-overriding-map): Remove.
4462 (universal-argument--mode): Rename from save&set-overriding-map,
4463 and rewrite.
4464 (universal-argument, universal-argument-more, negative-argument)
4465 (digit-argument): Adjust accordingly.
4466 (universal-argument-minus): Remove.
4467 (universal-argument-other-key): Remove.
4468
8c27f5ff
SM
4469 * subr.el (with-demoted-errors): Add `format' argument.
4470
6480194c
MA
44712013-09-10 Michael Albinus <michael.albinus@gmx.de>
4472
4473 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4474 `tramp-cleanup-connection'.
4475
4476 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4477 parameters KEEP-DEBUG and KEEP-PASSWORD.
4478
4479 * net/tramp.el (tramp-file-name-handler):
4480 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4481 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4482 (tramp-maybe-open-connection):
8c27f5ff
SM
4483 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4484 Use `tramp-cleanup-connection'.
6480194c 4485
8c27f5ff
SM
4486 * net/tramp-sh.el (tramp-maybe-open-connection):
4487 Catch 'uname-changed inside the progress reporter.
6480194c 4488
e5e916d8
GM
44892013-09-10 Glenn Morris <rgm@gnu.org>
4490
9a2c9b47
GM
4491 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4492
e5e916d8
GM
4493 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4494 returns "alternate access method" in mode (eg "-rw-r--r--.").
4495
144e38fe
GM
44962013-09-08 Glenn Morris <rgm@gnu.org>
4497
4498 * saveplace.el (load-save-place-alist-from-file):
4499 Demote errors. (Bug#15305)
4500
af9ff9e8
MA
45012013-09-08 Michael Albinus <michael.albinus@gmx.de>
4502
4503 Improve compatibility with older Emacsen, and XEmacs.
4504
4505 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4506 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4507 (with-tramp-progress-reporter): Do not let-bind `result'.
4508 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4509 (tramp-handle-make-auto-save-file-name): New function, moved from
4510 tramp-sh.el.
4511
4512 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4513 for `make-auto-save-file-name'.
8c27f5ff
SM
4514 (tramp-adb--gnu-switches-to-ash):
4515 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4516
4517 * net/tramp-cache.el (tramp-cache-print): Call
4518 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4519
4520 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4521 bound. It isn't for XEmacs.
4522
8c27f5ff
SM
4523 * net/tramp-compat.el (tramp-compat-copy-file):
4524 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4525 (tramp-compat-replace-regexp-in-string): New defun.
4526
4527 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4528 for `make-auto-save-file-name'.
4529 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4530 `copy-file'.
4531 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4532 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4533 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4534
8c27f5ff
SM
4535 * net/tramp-gw.el (tramp-gw-open-network-stream):
4536 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 4537
8c27f5ff
SM
4538 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4539 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
4540 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4541 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
4542 (tramp-sh-file-inotifywait-process-filter):
4543 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4544 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4545
4546 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4547 for `make-auto-save-file-name'.
8c27f5ff
SM
4548 (tramp-smb-handle-copy-directory):
4549 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4550 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4551 (tramp-smb-handle-copy-file): Improve error message.
4552 (tramp-smb-handle-rename-file): Rename directly only in case
4553 `newname' does not exist yet. This is a restriction of smbclient.
4554 (tramp-smb-maybe-open-connection): Rerun the function only when
4555 `auth-sources' is non-nil.
4556
0ca754d0
KH
45572013-09-08 Kenichi Handa <handa@gnu.org>
4558
e0eb0550 4559 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
4560 more characters.
4561
e8dd0787
AM
45622013-09-07 Alan Mackenzie <acm@muc.de>
4563
4564 Correctly fontify Java class constructors.
4565 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4566 in Java Mode.
4567 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
4568 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4569 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
4570 "typeless" declaration there.
4571
f2f248e7
RW
45722013-09-07 Roland Winkler <winkler@gnu.org>
4573
4574 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4575 field subtitle for entry type book.
4576
67982e2b
SM
45772013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4578
4579 * minibuffer.el: Make minibuffer-complete call completion-in-region
4580 rather than other way around.
4581 (completion--some, completion-pcm--find-all-completions):
4582 Don't delay signals when debugging.
4583 (minibuffer-completion-contents): Beware fields within the
4584 minibuffer contents.
4585 (completion-all-sorted-completions): Use defvar-local.
4586 (completion--do-completion, completion--cache-all-sorted-completions)
4587 (completion-all-sorted-completions, minibuffer-force-complete):
4588 Add args `beg' and `end'.
4589 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4590 (minibuffer-complete): Use completion-in-region.
4591 (completion-complete-and-exit): New fun, extracted from
4592 minibuffer-complete-and-exit.
4593 (minibuffer-complete-and-exit): Use it.
4594 (completion--complete-and-exit): Rename from
4595 minibuffer--complete-and-exit.
4596 (completion-in-region--single-word): New function, extracted from
4597 minibuffer-complete-word.
4598 (minibuffer-complete-word): Use it.
4599 (display-completion-list): Make `common-substring' argument obsolete.
4600 (completion--in-region): Call completion--in-region-1 instead of
4601 minibuffer-complete.
4602 (completion-help-at-point): Pass boundaries to
4603 minibuffer-completion-help as args rather than via an overlay.
4604 (completion-pcm--string->pattern): Use `any-delim'.
4605 (completion-pcm--optimize-pattern): New function.
4606 (completion-pcm--pattern->regex): Handle `any-delim'.
4607 * icomplete.el (icomplete-forward-completions)
4608 (icomplete-backward-completions, icomplete-completions):
4609 Adjust calls to completion-all-sorted-completions and
4610 completion--cache-all-sorted-completions.
4611 (icomplete-with-completion-tables): Default to t.
4612 * emacs-lisp/crm.el (crm--current-element): Rename from
4613 crm--select-current-element. Don't put an overlay but return the
4614 boundaries instead.
4615 (crm--completion-command): Take two new args to bind to the boundaries.
4616 (crm-completion-help): Adjust accordingly.
4617 (crm-complete): Use completion-in-region.
4618 (crm-complete-word): Use completion-in-region--single-word.
4619 (crm-complete-and-exit): Use completion-complete-and-exit.
4620
e17d94a5
SM
46212013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4622
4623 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4624 than dynamically.
4625
96727100
JL
46262013-09-06 Juri Linkov <juri@jurta.org>
4627
4628 * info.el (Info-display-images-node): When image file doesn't exist
4629 display text version of the image if it's provided in the Info file.
4630 Otherwise, display the location of missing image from SRC attribute.
4631 Add help-echo text property from ALT attribute. (Bug#15279)
4632
86cf7329
SM
46332013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4634
4635 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4636 (edit-abbrevs-mode): Use define-derived-mode.
4637
4638 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4639 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4640 that it's defined.
4641 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4642 Use define-derived-mode.
4643
4644 * epg.el (epg-start-encrypt): Minor CSE simplification.
4645
816244a2
WX
46462013-09-06 William Xu <william.xwl@gmail.com>
4647
4648 * arc-mode.el: Add support for 7za (bug#15264).
4649 (archive-7z-program): New var.
4650 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4651 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4652 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4653
1486fa31
MA
46542013-09-06 Michael Albinus <michael.albinus@gmx.de>
4655
4656 Remove URL syntax.
4657
4658 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4659 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4660 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4661 (tramp-postfix-host-format, tramp-file-name-regexp)
4662 (tramp-completion-file-name-regexp)
4663 (tramp-completion-dissect-file-name)
4664 (tramp-handle-substitute-in-file-name): Remove 'url case.
4665 (tramp-file-name-regexp-url)
4666 (tramp-completion-file-name-regexp-url): Remove constants.
4667
39785324
GM
46682013-09-06 Glenn Morris <rgm@gnu.org>
4669
4670 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4671
1f896cb7
DG
46722013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4673
4674 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4675 keywords" below "here-doc beginnings" (Bug#15270).
4676
c0458e0b
SM
46772013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4678
4679 * subr.el (pop): Use `car-safe'.
4680 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4681 to detect unused `pop' return value.
4682
4683 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4684 var `block-regexp'.
4685 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4686 (python-fill-string): Remove unused var `marker'.
4687 (python-skeleton-add-menu-items): Remove unused var `items'.
4688
4689 * international/mule-cmds.el: Require CL.
4690 (find-coding-systems-for-charsets): Avoid add-to-list.
4691 (sanitize-coding-system-list): New function, extracted from
4692 select-safe-coding-system-interactively.
4693 (select-safe-coding-system-interactively): Use it.
4694 (read-input-method-name): Accept symbols for `default'.
4695
4696 * emacs-lisp/advice.el (defadvice): Add indent rule.
4697
6c42fc3e
DH
46982013-09-05 Daniel Hackney <dan@haxney.org>
4699
4700 * dired-x.el:
4701 * net/ange-ftp.el:
4702 * net/browse-url.el:
4703 * net/dbus.el:
4704 * net/eudc.el:
4705 * net/eudcb-ldap.el:
4706 * net/eww.el:
4707 * net/imap.el:
4708 * printing.el:
4709 * vc/ediff-diff.el:
4710 * vc/ediff-init.el:
4711 * vc/ediff-merg.el:
4712 * vc/ediff-mult.el:
4713 * vc/ediff-util.el:
4714 * vc/ediff-wind.el:
4715 * vc/ediff.el:
4716 * vc/emerge.el:
4717 * vc/pcvs.el:
4718 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4719 byte compiler. Remove some unused let-bound variables.
4720
4c528aab
SM
47212013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4722
4723 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4724 a "ref-cell", since it gets better optimized (bug#14883).
4725
bd15c390
GM
47262013-09-05 Glenn Morris <rgm@gnu.org>
4727
4728 * progmodes/cc-awk.el (c-forward-sws): Declare.
4729
1c3ac2e5
GM
47302013-09-04 Glenn Morris <rgm@gnu.org>
4731
4732 * generic-x.el [rul-generic-mode]: Require cc-mode.
4733 (c++-mode-syntax-table): Declare.
4734 (rul-generic-mode-syntax-table): Init in the defvar.
4735
52b1cc79
SM
47362013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4737
c828af56
SM
4738 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4739 (vc-do-command, vc-set-async-update):
4740 * vc/vc-mtn.el (vc-mtn-dir-status):
4741 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4742 (vc-hg-pull, vc-hg-merge-branch):
4743 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4744 (vc-git-merge-branch):
4745 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4746 (vc-cvs-dir-status-files):
4747 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4748 (vc-bzr-dir-status-files):
4749 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4750 * vc/vc-annotate.el: Use lexical-binding.
4751 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4752 (vc-sentinel-movepoint): Declare.
4753 (vc-annotate): Don't use `goto-line'.
4754 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4755 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4756 (vc-sentinel-movepoint): Declare.
4757 * vc/vc-svn.el: Use lexical-binding.
4758 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4759 * vc/vc-sccs.el:
4760 * vc/vc-rcs.el: Use lexical-binding.
4761
abae272c
SM
4762 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4763 `deleted'. Don't drop errors silently.
4764
52b1cc79
SM
4765 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4766
63191d9f
XF
47672013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4768
4769 * vc/vc.el (vc-ignore): Rewrite.
4770 (vc-default-ignore): New function.
4771 (vc-default-ignore-completion-table): Use find-ignore-file.
4772
4773 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4774 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4775 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4776 Remove. Most code moved to vc.el.
4777
9d3f707c
SM
47782013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4779
abae272c 4780 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
4781 * net/tramp-smb.el (tramp-smb-get-file-entries):
4782 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4783 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4784
fde38d49
SM
4785 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4786 Update call to it.
4787 (eww-change-select): Remove unused var `properties'.
4788 (eww-make-unique-file-name): Remove unused var `base'.
4789
4790 * finder.el (finder-compile-keywords): Don't mess with windows.
4791
84032db7
SM
4792 * calculator.el (calculator-funcall): Fix typo in last change.
4793
724f5e41
SM
4794 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4795
14b511d4
SM
4796 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4797 <pkg>-autoloads.el file stop us.
4798
9d3f707c 4799 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4800 warnings, and factor out common code.
9d3f707c 4801
88527bc0
DG
48022013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4803
4804 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4805 two-character operators and whether the character preceding them
4806 changes their meaning (Bug#15208).
4807
96edb677
FEG
48082013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4809
4810 Format code sent to Python shell for robustness.
9d3f707c
SM
4811 * progmodes/python.el (python-shell-buffer-substring):
4812 New function.
96edb677
FEG
4813 (python-shell-send-region, python-shell-send-buffer): Use it.
4814
95beaef3
MA
48152013-09-02 Michael Albinus <michael.albinus@gmx.de>
4816
4817 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4818 * net/tramp.el (tramp-user-error): ... here.
4819 (tramp-find-method, tramp-check-proper-host)
4820 (tramp-dissect-file-name, tramp-debug-message)
4821 (tramp-handle-shell-command):
4822 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4823 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4824
4825 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4826
f167c27b
MR
48272013-09-02 Martin Rudalics <rudalics@gmx.at>
4828
4829 * avoid.el (mouse-avoidance-point-position)
4830 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4831 returns nil.
4832
cd16c5f1
FEG
48332013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4834
4835 * progmodes/python.el (python-shell-completion-get-completions):
4836 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4837 (python-nav-if-name-main): New command.
cd16c5f1 4838
e73c3a0d
GM
48392013-09-01 Glenn Morris <rgm@gnu.org>
4840
f8ccce03
GM
4841 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4842 Avoid leading space in $wins. Otherwise the sed command used by
4843 eg compile-main ends up containing "/*.el". (Bug#15170)
4844
e73c3a0d
GM
4845 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4846
415f808e
GM
48472013-08-30 Glenn Morris <rgm@gnu.org>
4848
4849 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4850 Fix is-this-a-directory logic. (Bug#15220)
4851
f069bba8
SM
48522013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4853
112798c1
SM
4854 * textmodes/css-mode.el: Use SMIE.
4855 (css-smie-grammar): New var.
4856 (css-smie--forward-token, css-smie--backward-token)
4857 (css-smie-rules): New functions.
4858 (css-mode): Use them.
4859 (css-navigation-syntax-table): Remove var.
4860 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4861 (css-indent-calculate, css-indent-line): Remove functions.
4862
4863 Misc changes to reduce use of `(lambda...); and other cleanups.
4864 * cus-edit.el: Use lexical-binding.
4865 (customize-push-and-save, customize-apropos)
4866 (custom-buffer-create-internal): Use closures.
4867 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4868 * progmodes/ada-xref.el: Use setq.
4869 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4870 * dframe.el: Use lexical-binding.
4871 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4872 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4873 * descr-text.el: Use lexical-binding.
4874 (describe-text-widget, describe-text-sexp, describe-property-list):
4875 Use closures.
4876 * comint.el (comint-history-isearch-push-state): Use a closure.
4877 * calculator.el: Use lexical-binding.
4878 (calculator-number-to-string): Make it work with lexical-binding.
4879 (calculator-funcall): Same and use cl-letf.
4880
2da4c3ab
SM
4881 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4882 (lisp--company-doc-string, lisp--company-location): New functions.
4883 (lisp-completion-at-point): Use them to improve Company support.
4884
f069bba8
SM
4885 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4886 params of lambda expressions.
4887 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4888 (ruby-smie--opening-pipe-p): New function.
4889 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4890 symbols and matched |...| for formal params.
4891 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4892 from being treated as hanging. Handle "rescue".
4893
6758b6a8
GM
48942013-08-29 Glenn Morris <rgm@gnu.org>
4895
4896 * progmodes/cc-engine.el (c-pull-open-brace):
4897 Move definition before use.
4898
e8dfd197
SM
48992013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4900
4901 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4902 are immutable. Don't use `unsafe' any more.
4903 (cl--defsubst-expand): Don't substitute at the same time as keeping
4904 a residual unused let-binding. Don't use `unsafe' any more.
4905
cc585c96
GM
49062013-08-29 Glenn Morris <rgm@gnu.org>
4907
ba579ea6
GM
4908 * calendar/cal-china.el (calendar-chinese-year-cache):
4909 Recenter on 2015.
4910
8201a87e
GM
4911 * nxml/nxml-util.el (nxml-debug-clear-inside):
4912 Use cl-loop rather than loop.
4913
6ee877c7
GM
4914 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4915
cc585c96
GM
4916 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4917
27be8d39
GM
49182013-08-28 Glenn Morris <rgm@gnu.org>
4919
397440a1
GM
4920 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4921
2bb762d4
GM
4922 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4923
27be8d39
GM
4924 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4925
2d69b99e
SM
49262013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4927
f663baa7
SM
4928 * simple.el (repeat-complex-command--called-interactively-skip):
4929 New function.
4930 (repeat-complex-command): Use it (bug#14136).
4931
dd4f8b74
SM
4932 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4933 (c-define-abbrev-table): Add `doc' argument.
4934 (c-mode-abbrev-table, c++-mode-abbrev-table)
4935 (objc-mode-abbrev-table, java-mode-abbrev-table)
4936 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4937 (awk-mode-abbrev-table): Use it.
4938 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4939 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4940 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4941 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4942 Move initialization into the declaration; and remove any
4943 autoload cookie.
4944
b58969f7
SM
4945 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4946 and dynamic let binding.
4947
4021d6a6
SM
4948 * vc/smerge-mode.el: Remove redundant :group args.
4949
2d69b99e
SM
4950 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4951 to load-path.
4952
274919fd
JL
49532013-08-28 Juri Linkov <juri@jurta.org>
4954
4955 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4956 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4957 (isearch-other-meta-char): Handle an undefined shifted printing
4958 character by downshifting it. (Bug#15200)
4959
121f8c95
JL
49602013-08-28 Juri Linkov <juri@jurta.org>
4961
4962 * isearch.el (isearch-search): Change regexp error message for
4963 non-regexp searches. (Bug#15166)
4964
50b13cde
PE
49652013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4966
4967 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4968 for portability to hosts where /bin/sh has problems.
4969
95888bca
SM
49702013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4971
4972 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4973
bbe558f1
JL
49742013-08-27 Juri Linkov <juri@jurta.org>
4975
4976 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4977 in the keyboard macro. (Bug#15126)
4978
26f98a7d
JL
49792013-08-27 Juri Linkov <juri@jurta.org>
4980
4981 * isearch.el (isearch-quote-char): Comment out converting unibyte
4982 to multibyte, thus syncing with its `quoted-insert' counterpart.
4983 (Bug#15166)
4984
7c97d35e
MR
49852013-08-27 Martin Rudalics <rudalics@gmx.at>
4986
4987 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
4988 argument in call of get-largest-window (Bug#15185).
4989 Reported by Stephen Leake.
7c97d35e 4990
a0b5606e 49912013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
4992
4993 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4994
9e89d835
SM
49952013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4996
4997 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4998 from a matcher-function unless there's no more matches (bug#15161).
4999
78fc2530
MA
50002013-08-26 Michael Albinus <michael.albinus@gmx.de>
5001
5002 * minibuffer.el: Revert change from 2013-08-20.
5003
5004 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5005 with text property `tramp-default', if appropriate.
5006 (tramp-check-proper-host): New defun.
5007 (tramp-dissect-file-name): Do not check hostname. Revert change
5008 of 2013-03-18.
5009 (tramp-backtrace): Make VEC-OR-PROC optional.
5010
5011 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5012 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5013 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
5014 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5015 Apply `tramp-check-proper-host'.
78fc2530 5016
edca97cd
TH
50172013-08-26 Tassilo Horn <tsdh@gnu.org>
5018
5019 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5020 lambda expression in order to have `describe-variable' display it.
5021
df54bcbd
MA
50222013-08-26 Michael Albinus <michael.albinus@gmx.de>
5023
5024 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5025 BUF can be optional. (Bug#15186)
5026
eed99101
XF
50272013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5028
5029 * progmodes/flymake.el (flymake-get-real-file-name-function):
5030 Fix broken customization. (Bug#15184)
5031
b5eb9035
AM
50322013-08-25 Alan Mackenzie <acm@muc.de>
5033
8a51e842
AM
5034 Improve indentation of bracelists defined by macros (without "=").
5035
5036 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5037 expansion begins with "{", regard it as bracelist when it doesn't
5038 contain a ";".
5039
869455d4
AM
5040 Parse C++ inher-intro when there's a template split over 2 lines.
5041
5042 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5043 rigorously the search for "class" etc. followed by ":".
5044
5045 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5046 random languages a regexp which never matches rather than nil.
5047
b5eb9035
AM
5048 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5049
5050 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5051 (c-awk-regexp-one-line-possibly-open-char-list-re)
5052 (c-awk-one-line-possibly-open-regexp-re)
5053 (c-awk-one-line-non-syn-ws*-re): Remove.
5054 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5055 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5056 (c-awk-space*-unclosed-regexp-/-re): New constants.
5057 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5058 aren't regexp delimiters.
5059
5060 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5061 handling for a rare situation in AWK Mode involving unterminated
5062 strings/regexps.
5063
61611d54
GM
50642013-08-23 Glenn Morris <rgm@gnu.org>
5065
2d85dc34
GM
5066 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5067
cb8d2612
GM
5068 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5069
bb35f42f
GM
5070 * files.el (create-file-buffer): If the result would begin with
5071 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 5072
b9808e77
SM
50732013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5074
e3a66363
SM
5075 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5076 text-properties (bug#15155).
5077
b9808e77
SM
5078 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5079 exist any more.
5080 (calc-keypad-redraw): Remove unused var `pad'.
5081 (calc-keypad-press): Remove unused var `menu'.
5082
7fd5f65e
MR
50832013-08-23 Martin Rudalics <rudalics@gmx.at>
5084
b9808e77
SM
5085 * window.el (display-buffer-pop-up-frame):
5086 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
5087 use it as the new frame's buffer (Bug#15133).
5088
8352b530
SM
50892013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5090
5091 * calendar/timeclock.el: Minor cleanups.
5092 (timeclock-ask-before-exiting, timeclock-use-display-time):
5093 Use `symbol'.
5094 (timeclock-modeline-display): Define as alias before the
5095 actual definition.
5096 (timeclock-mode-line-display): Use define-minor-mode.
5097 (timeclock-day-list-template): Make it a function, add an argument.
5098 (timeclock-day-list-required, timeclock-day-list-length)
5099 (timeclock-day-list-debt, timeclock-day-list-span)
5100 (timeclock-day-list-break): Adjust calls accordingly.
5101
9f7b1925
SM
51022013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5103
5104 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5105 Use read--expression so that completion works again.
5106
6e50e983
SS
51072013-08-21 Sam Steingold <sds@gnu.org>
5108
5109 Add rudimentary inferior shell interaction
5110 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5111 (sh-set-shell): Reset it.
9f7b1925
SM
5112 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5113 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 5114
dbb0d350
SM
51152013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5116
5117 * align.el: Use lexical-binding.
5118 (align-region): Simplify accordingly.
5119
c88586a9
MA
51202013-08-20 Michael Albinus <michael.albinus@gmx.de>
5121
5122 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5123
5124 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5125 `non-essential' up.
5126
f95527c8
MA
51272013-08-17 Michael Albinus <michael.albinus@gmx.de>
5128
5129 * net/tramp.el:
5130 * net/tramp-adb.el:
5131 * net/tramp-cmds.el:
5132 * net/tramp-ftp.el:
5133 * net/tramp-gvfs.el:
5134 * net/tramp-gw.el:
5135 * net/tramp-sh.el: Don't wrap external variable declarations by
5136 `eval-when-compile'.
5137
4b5fe4ee
LMI
51382013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5139
5140 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5141 now that Emacs supports ImageMagick animations.
5142
13c366c9
MA
51432013-08-16 Michael Albinus <michael.albinus@gmx.de>
5144
5145 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5146 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5147
3dfc5cd6
MR
51482013-08-16 Martin Rudalics <rudalics@gmx.at>
5149
5150 * window.el (mouse-autoselect-window-select): Do autoselect when
5151 mouse pointer is on margin.
5152
4bbb4381
WP
51532013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5154
5155 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5156
3a2ddc2d
GM
51572013-08-16 Glenn Morris <rgm@gnu.org>
5158
e8bedf5a
GM
5159 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5160 Handle "Remote Directory" response of some clients. (Bug#15058)
5161
58c4682f
GM
5162 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5163 Tweak warning. (Bug#14926)
5164
57953f49
GM
5165 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5166 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5167
3a2ddc2d
GM
5168 * image-mode.el (image-mode-map): Add menu items to reverse,
5169 increase, decrease, reset animation speed.
5170 (image--set-speed, image-increase-speed, image-decrease-speed)
5171 (image-reverse-speed, image-reset-speed): New functions.
5172 (image-mode-map): Add bindings for speed commands.
5173
5174 * image.el (image-animate-get-speed, image-animate-set-speed):
5175 New functions.
5176 (image-animate-timeout): Respect image :speed property.
5177
10fa0ed3
SM
51782013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5179
5180 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5181 previous line (bug#15101).
5182 (debugger-eval-expression, debugger-record-expression):
5183 Use read--expression (bug#15102).
5184
5d89d9d2
MA
51852013-08-15 Michael Albinus <michael.albinus@gmx.de>
5186
5187 Remove byte compiler warnings, visible when compiling with
5188 `byte-compile-force-lexical-warnings' set to t.
5189
5190 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5191 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5192 (tramp-handle-unhandled-file-name-directory)
5193 (tramp-handle-file-notify-add-watch, tramp-action-login)
5194 (tramp-action-succeed, tramp-action-permission-denied)
5195 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5196 arguments with "_".
5197
5198 * net/tramp-adb.el (tramp-adb-parse-device-names)
5199 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5200 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5201 (tramp-adb-handle-file-truename): Remove unused arguments.
5202
5203 * net/tramp-cache.el (tramp-flush-directory-property)
5204 (tramp-flush-connection-property, tramp-list-connections)
5205 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5206
10fa0ed3
SM
5207 * net/tramp-compat.el (tramp-compat-make-temp-file):
5208 Rename FILENAME to F.
5d89d9d2
MA
5209
5210 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5211 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5212 (tramp-zeroconf-parse-workstation-device-names)
5213 (tramp-zeroconf-parse-webdav-device-names)
5214 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5215
5216 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5217 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5218
5219 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5220 arguments.
5221 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5222 (tramp-sh-handle-insert-file-contents-literally)
5223 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5224 with "_".
5225 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5226 Remove unused variables.
5227
5228 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5229 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5230 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5231
5232 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5233 Make them a defconst.
5234 (tramp-uuencode-region): Remove unused variable.
5235
62f33bae
JB
52362013-08-14 Juanma Barranquero <lekktu@gmail.com>
5237
5238 * frameset.el (frameset--prop-setter): New function.
5239 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5240 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5241 parameter was already set in FILTERED. Doc fix.
5242 (frameset--record-minibuffer-relationships): Allow saving a
5243 minibufferless frame without its corresponding minibuffer frame.
5244 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5245 frame, if the frame id matches.
5246 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5247 frames before orphaned ones.
5248 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 5249
c660a885
MR
52502013-08-14 Martin Rudalics <rudalics@gmx.at>
5251
5252 * window.el (window-make-atom): Don't overwrite parameter
5253 already present.
5254 (display-buffer-in-atom-window): Handle special case where we
5255 split an already atomic window.
5256 (window--major-non-side-window, display-buffer-in-side-window)
5257 (window--side-check): Ignore minibuffer window when walking
5258 window tree.
5259 (window-deletable-p): Return 'frame only if no other frame uses
5260 our minibuffer window.
5261 (record-window-buffer): Run buffer-list-update-hook.
5262 (split-window): Make sure window--check-frame won't destroy an
5263 existing atomic window in case the new window gets nested
5264 inside.
5265 (display-buffer-at-bottom): Ignore minibuffer window when
5266 walking window tree. Don't split a side window.
5267 (pop-to-buffer): Don't set-buffer here, the select-window call
5268 should do that.
5269 (mouse-autoselect-window-select): Autoselect only if we are in the
5270 text portion of the window.
5271
8259030d
LMI
52722013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5273
21c58ae2
LMI
5274 * net/shr.el (shr-parse-image-data): New function to grab both the
5275 data itself and the Content-Type.
5276 (shr-put-image): Use it.
5277
5278 * net/eww.el (eww-display-image): Ditto.
5279
8259030d
LMI
5280 * image.el (image-content-type-suffixes): New variable.
5281
ad756449
FEG
52822013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5283
5284 * progmodes/python.el (python-imenu--build-tree)
5285 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5286
f73f4ce6
XF
52872013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5288
5289 * simple.el (backward-word): Mention the optional argument.
5290
1f585e65
SM
52912013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5292
5293 * frameset.el (frameset--make): Rename constructor from make-frameset.
5294 (frameset-p, frameset-valid-p): Don't autoload.
5295 (frameset-valid-p): Use normal accessors.
5296
af1c6c84
GM
52972013-08-13 Glenn Morris <rgm@gnu.org>
5298
55e47f95
GM
5299 * progmodes/compile.el (compile-command): Tweak example in doc.
5300 * obsolete/scribe.el (scribe-mode):
5301 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5302
f0024d8c
GM
5303 * mail/feedmail.el (feedmail-confirm-outgoing)
5304 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5305
5306 * cus-start.el (truncate-partial-width-windows): Fix type.
5307
5308 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5309
af1c6c84
GM
5310 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5311
5514cc4c
SM
53122013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5313
5314 * emacs-lisp/timer.el (timer--time-setter): New function.
5315 (timer--time): Use it as gv-setter.
5316
5317 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5318 setter is not a symbol.
5319
7997a2f1
GJ
53202013-08-12 Grégoire Jadi <daimrod@gmail.com>
5321
5322 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5323 if sending fails. This makes debugging easier.
5324
01f1a9ab
JB
53252013-08-12 Juanma Barranquero <lekktu@gmail.com>
5326
5327 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5328 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5329 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5330
594a4307
EZ
53312013-08-12 Eli Zaretskii <eliz@gnu.org>
5332
5333 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5334
7a22490f 53352013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5336
5337 * format.el (format-annotate-function):
5338 Handle read-only text properties in the source. (Bug#14887)
5339
3e41a054
LMI
53402013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5341
5514cc4c
SM
5342 * net/eww.el (eww-display-html): Ignore coding system errors.
5343 One web site uses "utf-8lias" as the coding system.
3e41a054 5344
7ec326db
JB
53452013-08-11 Juanma Barranquero <lekktu@gmail.com>
5346
5347 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5348
5660113b
JB
53492013-08-10 Juanma Barranquero <lekktu@gmail.com>
5350
9a4ebc74
JB
5351 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5352 (tutorial--detailed-help): Remove unused local variables.
5353 (tutorial--save-tutorial-to): Use ignore-errors.
5354 (help-with-tutorial): Use looking-at-p.
5355
5356 * view.el (view-buffer-other-window, view-buffer-other-frame):
5357 Mark unused arguments.
5358
5359 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5360 (woman-select-symbol-fonts, woman, woman-find-file)
5361 (woman-insert-file-contents, woman-non-underline-faces):
5362 Use string-match-p.
5363 (woman1-unquote): Move declaration.
5364
5365 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5366 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5367 argument. Remove unused local variable.
5368 (xml-parse-elem-type): Use string-match-p.
5369 (xml-substitute-numeric-entities): Use ignore-errors.
5370
45fdb482
JB
5371 * calculator.el (calculator): Mark unused argument.
5372 (calculator-paste, calculator-quit, calculator-integer-p):
5373 Use ignore-errors.
5374 (calculator-string-to-number, calculator-decimal, calculator-exp)
5375 (calculator-op-or-exp): Use string-match-p.
5376
5377 * dired.el (dired-buffer-more-recently-used-p): Declare.
5378 (dired-insert-set-properties, dired-insert-old-subdirs):
5379 Use ignore-errors.
5380
5381 * dired-aux.el (dired-compress): Use ignore-errors.
5382 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5383 (dired-do-async-shell-command, dired-do-shell-command)
5384 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5385 (dired-insert-subdir-validate): Use string-match-p.
5386 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5387 (dired-add-entry): Use string-match-p, looking-at-p.
5388 (dired-insert-subdir-newpos): Remove unused local variable.
5389
5390 * filenotify.el (file-notify-callback): Remove unused local variable.
5391
5392 * filesets.el (filesets-error): Mark unused argument.
5393 (filesets-which-command-p, filesets-filter-dir-names)
5394 (filesets-directory-files, filesets-get-external-viewer)
5395 (filesets-ingroup-get-data): Use string-match-p.
5396
5397 * find-file.el (ff-other-file-name, ff-other-file-name)
5398 (ff-find-the-other-file, ff-cc-hh-converter):
5399 Remove unused local variables.
5400 (ff-get-file-name): Use string-match-p.
5401 (ff-all-dirs-under): Use ignore-errors.
5402
5403 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5404 (follow-select-if-visible): Remove unused local variable.
5405
5406 * forms.el (read-file-filter): Move declaration.
5407 (forms--make-format, forms--make-parser, forms-insert-record):
5408 Quote function with #'.
5409 (forms--update): Use string-match-p. Quote function with #'.
5410
5411 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5412 (help-make-xrefs): Use looking-at-p.
5413 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5414
5415 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5416 (ibuffer-confirm-operation-on): Use string-match-p.
5417
5418 * msb.el (msb-item-handler, msb-dired-item-handler):
5419 Mark unused arguments.
5420
5421 * ses.el (ses-decode-cell-symbol)
5422 (ses-kill-override): Remove unused local variable.
5423 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5424 (ses-load): Use ignore-errors, looking-at-p.
5425 (ses-jump-safe): Use ignore-errors.
5426 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5427
5428 * tabify.el (untabify, tabify): Mark unused arguments.
5429
5430 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5431 Mark unused argument.
5432 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5433 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5434
c880af52
JB
5435 * emacs-lisp/timer.el (timer--time): Define setter with
5436 gv-define-setter to avoid deprecation warning.
5437
5660113b 5438 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5439 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5440 (cmpl-statistics-block): Remove (body was commented out).
5441 All callers changed.
5442 (add-completions-from-buffer, load-completions-from-file):
5443 Remove unused variables.
5444
156aab80
JB
54452013-08-09 Juanma Barranquero <lekktu@gmail.com>
5446
5c5dee78
JB
5447 * filecache.el (file-cache-delete-file-list):
5448 Print message only when told so.
5449 (file-cache-files-matching): Use #' in mapconcat argument.
5450
156aab80
JB
5451 * ffap.el (ffap-url-at-point): Fix reference to variable
5452 thing-at-point-default-mail-uri-scheme.
5453
ad9dcd70
SM
54542013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5455
54bd972f
SM
5456 * subr.el (define-error): New function.
5457 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5458 error-file-not-found and define with define-error.
5459 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5460 and define with define-error.
5461 * userlock.el (file-locked, file-supersession):
5462 * simple.el (mark-inactive):
5463 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5464 * progmodes/ada-mode.el (ada-mode-errors):
5465 * play/life.el (life-extinct):
5466 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5467 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5468 * nxml/rng-util.el (rng-error):
5469 * nxml/rng-uri.el (rng-uri-error):
5470 * nxml/rng-match.el (rng-compile-error):
5471 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5472 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5473 * nxml/nxml-rap.el (nxml-scan-error):
5474 * nxml/nxml-outln.el (nxml-outline-error):
5475 * net/soap-client.el (soap-error):
5476 * net/gnutls.el (gnutls-error):
5477 * net/ange-ftp.el (ftp-error):
5478 * mpc.el (mpc-proc-error):
5479 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5480 (json-number-format, json-string-escape, json-string-format)
5481 (json-key-format, json-object-format):
5482 * jka-compr.el (compression-error):
5483 * international/quail.el (quail-error):
5484 * international/kkc.el (kkc-error):
5485 * emacs-lisp/ert.el (ert-test-failed):
5486 * calc/calc.el (calc-error, inexact-result, math-overflow)
5487 (math-underflow):
5488 * bookmark.el (bookmark-error-no-filename):
5489 * epg.el (epg-error): Define with define-error.
5490
0ea9e53a
SM
5491 * time.el (display-time-event-handler)
5492 (display-time-next-load-average): Don't call sit-for since it seems
5493 unnecessary (bug#15045).
5494
b0429158
SM
5495 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5496 Use #' instead of ' to quote functions.
5497 (checkdoc-output-mode): Use setq-local.
5498 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5499 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5500 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5501 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5502 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5503 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5504 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5505 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5506
ad9dcd70
SM
5507 * ido.el (ido-completion-help): Fix up compiler warning.
5508
77187e6f
JB
55092013-08-09 Juanma Barranquero <lekktu@gmail.com>
5510
5511 * frameset.el (frameset-p): Add autoload cookie.
5512 (frameset--jump-to-register): New function, based on code moved from
5513 register.el.
5514 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5515
5516 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5517 (frameset-restore, frameset-save, frameset-session-filter-alist):
5518 Remove declarations.
5519 (register-alist): Doc fix.
5520 (frameset-to-register): Move to frameset.el.
5521 (jump-to-register, describe-register-1): Remove frameset-specific code.
5522
9d3aa82c
JB
55232013-08-08 Juanma Barranquero <lekktu@gmail.com>
5524
5525 * allout-widgets.el (allout-widgets-pre-command-business)
5526 (allout-widgets-post-command-business)
5527 (allout-widgets-after-change-handler)
5528 (allout-decorate-item-and-context, allout-set-boundary-marker)
5529 (allout-body-modification-handler)
5530 (allout-graphics-modification-handler): Mark ignored arguments.
5531 (allout-widgets-post-command-business)
5532 (allout-widgets-exposure-change-processor)
5533 (allout-widgets-exposure-undo-processor)
5534 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5535 (allout-parse-item-at-point, allout-decorate-item-guides)
5536 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5537 * allout.el (epa-passphrase-callback-function): Declare.
5538 (allout-overlay-insert-in-front-handler)
5539 (allout-overlay-interior-modification-handler)
5540 (allout-isearch-end-handler, allout-chart-siblings)
5541 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5542 (allout-yank-processing, allout-process-exposed)
5543 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 5544 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
5545 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5546 (lisp-indent-defform): Mark ignored arguments.
5547 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5548 (calculate-lisp-indent): Remove unused variables.
5549 * international/characters.el (indian-2-column, arabic-2-column)
5550 (tibetan): Mark ignored arguments.
5551 (use-cjk-char-width-table): Mark ignored arguments.
5552 Remove unused variables.
5553 * international/fontset.el (build-default-fontset-data)
5554 (x-compose-font-name, create-fontset-from-fontset-spec):
5555 Mark ignored arguments.
5556 (fontset-plain-name): Remove unused variables.
5557 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5558 (keyboard-coding-system): Mark ignored arguments.
5559 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5560 * help.el (resize-temp-buffer-window):
5561 * window.el (display-buffer-in-major-side-window)
5562 (display-buffer-in-side-window, display-buffer-in-previous-window):
5563 Remove unused variables.
5564 * isearch.el (isearch-forward-symbol):
5565 * version.el (emacs-bzr-version-bzr):
5566 * international/mule-cmds.el (current-language-environment):
5567 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5568 (x-handle-display):
5569 * term/pc-win.el (x-list-fonts, x-display-planes)
5570 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5571 (x-server-version, x-display-screens, x-display-mm-height)
5572 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5573 (x-selection-owner-p, x-own-selection-internal)
5574 (x-disown-selection-internal, x-get-selection-internal)
5575 (msdos-initialize-window-system):
5576 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5577 * term/x-win.el (x-handle-no-bitmap-icon):
5578 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5579 (vc-default-find-file-hook, vc-default-extra-menu):
5580 Mark ignored arguments.
5581
0ca3f70e
SM
55822013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5583
5584 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5585 break-condition in the context of the debugged code (bug#12685).
5586
74c5d24c
CS
55872013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5588
5589 * comint.el:
5590 Do not use an overlay to highlight the last prompt. (Bug#14744)
5591 (comint-mode): Make comint-last-prompt buffer local.
5592 (comint-last-prompt): New variable.
5593 (comint-last-prompt-overlay): Remove. Superseded by
5594 comint-last-prompt.
0ca3f70e
SM
5595 (comint-snapshot-last-prompt, comint-output-filter):
5596 Use comint-last-prompt.
74c5d24c 5597
c03c02ee
JB
55982013-08-08 Juanma Barranquero <lekktu@gmail.com>
5599
a3738d20 5600 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
5601 (frameset-save): Check validity of the resulting frameset.
5602
04263d23
XF
56032013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5604
5605 * ido.el (ido-record-command): Add doc string.
5606
76c5e5ab
JB
56072013-08-08 Juanma Barranquero <lekktu@gmail.com>
5608
5609 * frameset.el (frameset): Do not disable creation of the default
5610 frameset-p predicate. Doc fix.
5611 (frameset-valid-p): New function, copied from the old predicate-p.
5612 Add additional checks.
5613 (frameset-restore): Check with frameset-valid-p.
5614 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5615 (frameset-name, frameset-description, frameset-properties)
5616 (frameset-states): Add docstring.
f9dbf1cb
JB
5617 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5618 (frameset-filter-alist): Doc fixes.
76c5e5ab 5619
bd0c3c0b
JB
56202013-08-08 Juanma Barranquero <lekktu@gmail.com>
5621
5622 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5623
c735544c
SM
56242013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5625
5626 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5627 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5628 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5629 (byte-compile-normal-call): Remove obsolescence check.
5630
2805a651
JB
56312013-08-08 Juanma Barranquero <lekktu@gmail.com>
5632
3677ffeb
JB
5633 * frameset.el (frameset-restore): Doc fix.
5634
2805a651
JB
5635 * register.el (frameset-frame-id, frameset-frame-with-id)
5636 (frameset-p, frameset-restore, frameset-save): Declare.
5637 (register-alist): Document framesets.
5638 (frameset-session-filter-alist): Declare.
5639 (frameset-to-register): New function.
5640 (jump-to-register): Implement jumping to framesets. Doc fix.
5641 (describe-register-1): Describe framesets.
5642
5643 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5644
a912c016
JB
56452013-08-07 Juanma Barranquero <lekktu@gmail.com>
5646
5647 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5648 Use lexical-binding.
5649
5650 * frameset.el (frameset): Use type vector, not list (incompatible
5651 change). Do not declare a new constructor, use the default one.
5652 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5653 `name' and `description', respectively, and add read-only slot
5654 `timestamp'. Doc fixes.
5655 (frameset-copy, frameset-persistent-filter-alist)
5656 (frameset-filter-alist, frameset-switch-to-gui-p)
5657 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5658 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5659 (frameset-filter-iconified, frameset-keep-original-display-p):
5660 Doc fixes.
5661 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5662 Rename from frameset-filter-(save|restore)-param. All callers changed.
5663 Doc fix.
5664 (frameset-p): Adapt to change to vector and be more thorough.
5665 Change arg name to OBJECT. Doc fix.
5666 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5667 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5668 All callers changed.
5669 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5670 All callers changed.
5671 (frameset--record-minibuffer-relationships): Rename from
5672 frameset--process-minibuffer-frames. All callers changed.
5673 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5674 Use new default constructor (again). Doc fix.
5675 (frameset--find-frame-if): Rename from `frameset--find-frame.
5676 All callers changed.
5677 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5678 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5679 Doc fix.
5680 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5681 PARAMETERS and WINDOW-STATE, respectively.
5682 (frameset-restore): Add new keyword argument PREDICATE.
5683 Reset frameset--target-display to nil. Doc fix.
5684
bb41480a
SM
56852013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5686
f001e98e
SM
5687 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5688 (bat-mode): Use it.
5689 (bat-mode-syntax-table): Mark \n as end-of-comment.
5690 (bat-font-lock-keywords): Remove comment rule.
5691
7679edb1
SM
5692 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5693 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5694
bb41480a
SM
5695 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5696 (byte-compile-callargs-warn): Use `push'.
5697 (byte-compile-arglist-warn): Ignore higher-order "calls".
5698 (byte-compile-file-form-autoload): Use `pcase'.
5699 (byte-compile-function-form): If quoting a symbol, check that it exists.
5700
cdc1ebb9
EZ
57012013-08-07 Eli Zaretskii <eliz@gnu.org>
5702
5703 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5704 and add a few popular commands found in batch files.
5705 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5706 (dos-mode): Doc fixes.
5707
312b1740
SM
57082013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5709
5710 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5711 (dos-mode): Use setq-local. Add space after "rem".
5712 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5713 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5714
400a3178
AM
57152013-08-07 Arni Magnusson <arnima@hafro.is>
5716
5717 * progmodes/dos.el: New file.
5718 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5719 dos-mode.
5720
3b5c03d3
GM
57212013-08-06 Glenn Morris <rgm@gnu.org>
5722
5723 * calendar/calendar.el: Add new faces, and day-header-array.
5724 (calendar-weekday-header, calendar-weekend-header)
5725 (calendar-month-header): New faces.
5726 (calendar-day-header-construct): New function.
5727 (calendar-day-header-width): Also :set calendar-day-header-array.
5728 (calendar-american-month-header, calendar-european-month-header)
5729 (calendar-iso-month-header): Use calendar- faces.
5730 (calendar-generate-month):
5731 Use calendar-day-header-array for day headers; apply faces to them.
5732 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5733 (calendar-abbrev-construct): Add optional maxlen argument.
5734 (calendar-day-name-array): Doc fix.
5735 (calendar-day-name-array, calendar-abbrev-length)
5736 (calendar-day-abbrev-array):
5737 Also :set calendar-day-header-array, and maybe redraw.
5738 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5739 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5740 (calendar-day-name): Add option to use header array.
5741
ec6a2d7a
LMI
57422013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5743
5744 * net/shr.el (shr-render-td): Remove debugging.
5745 (shr-render-td): Make width computation consistent by defaulting
5746 all zero-width columns to 10 characters. This may not be optimal,
5747 but it's at least consistent.
2122cb6d
LMI
5748 (shr-make-table-1): Redo last change to fix the real problem in
5749 colspan handling.
ec6a2d7a 5750
ed4fd9c5
DA
57512013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5752
0ca3f70e
SM
5753 * files.el (cache-long-line-scans):
5754 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5755
64e22afe
JB
57562013-08-06 Juanma Barranquero <lekktu@gmail.com>
5757
024b38fc
JB
5758 * frameset.el (frameset, frameset-filter-alist)
5759 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5760 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5761 (frameset-compute-pos): Rename from frameset--compute-pos,
5762 and add docstring.
5763 (frameset-move-onscreen): Use frameset-compute-pos.
5764 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5765
64e22afe
JB
5766 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5767 Fix typos in docstrings.
5768
c8c2aca8
DA
57692013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5770
5771 * frame.el (get-other-frame): Tiny cleanup.
5772
1d237bba
JB
57732013-08-06 Juanma Barranquero <lekktu@gmail.com>
5774
8951efef
JB
5775 * vc/vc.el (vc-default-ignore-completion-table):
5776 Silence byte-compiler warning.
5777
307764cc
JB
5778 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5779 slot , which can indeed be nil.
5780 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5781 Move entry for `left' from persistent to live filter alist.
5782 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5783 Doc fixes.
5784 (frameset-filter-params): When restoring a frame, copy items added to
5785 `filtered', to avoid unwittingly modifying the original parameters.
5786 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5787 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5788
1d237bba
JB
5789 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5790 to use looking-at-p instead of looking-at. (Bug#15028)
5791
dc6c0eda
SM
57922013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5793
5794 Revert introduction of isearch-filter-predicates (bug#14714).
5795 Rely on add-function instead.
5796 * isearch.el (isearch-filter-predicates): Rename it back to
5797 isearch-filter-predicate.
5798 (isearch-message-prefix): Use advice-function-mapc and advice
5799 properties to get the isearch-message-prefix.
5800 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5801 instead of run-hook-with-args-until-failure.
5802 (isearch-filter-visible): Not obsolete any more.
5803 * loadup.el: Preload nadvice.
5804 * replace.el (perform-replace): Revert to funcall
5805 instead of run-hook-with-args-until-failure.
5806 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5807 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5808 dired-isearch-filenames-toggle; make it into a proper minor mode.
5809 Use add/remove-function.
5810 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5811 Call the minor-mode rather than add/remove-hook.
5812 (dired-isearch-filter-filenames):
5813 Remove isearch-message-prefix property.
5814 * info.el (Info--search-loop): New function, extracted from Info-search.
5815 Funcall isearch-filter-predicate instead of
5816 run-hook-with-args-until-failure isearch-filter-predicates.
5817 (Info-search): Use it.
5818 (Info-mode): Use isearch-filter-predicate instead of
5819 isearch-filter-predicates.
5820
290d5b58
DA
58212013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5822
5823 Do not call to `selected-window' where it is assumed by default.
5824 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5825 `window-hscroll', `window-width', `window-height', `window-buffer',
5826 `window-frame', `window-start', `window-point', `next-window'
5827 and `window-display-table'.
5828 * abbrev.el (abbrev--default-expand):
5829 * bs.el (bs--show-with-configuration):
5830 * buff-menu.el (Buffer-menu-mouse-select):
5831 * calc/calc.el (calc):
5832 * calendar/calendar.el (calendar-generate-window):
5833 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5834 (diary-make-entry):
5835 * comint.el (send-invisible, comint-dynamic-complete-filename)
5836 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5837 * completion.el (complete):
5838 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5839 * disp-table.el (describe-current-display-table):
5840 * doc-view.el (doc-view-insert-image):
5841 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5842 * ehelp.el (with-electric-help):
5843 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5844 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5845 * emacs-lisp/helper.el (Helper-help-scroller):
5846 * emulation/cua-base.el (cua--post-command-handler-1):
5847 * eshell/esh-mode.el (eshell-output-filter):
5848 * ffap.el (ffap-gnus-wrapper):
5849 * help-macro.el (make-help-screen):
5850 * hilit-chg.el (highlight-compare-buffers):
5851 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5852 * hl-line.el (global-hl-line-highlight):
5853 * icomplete.el (icomplete-simple-completing-p):
5854 * isearch.el (isearch-done):
5855 * jit-lock.el (jit-lock-stealth-fontify):
5856 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5857 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5858 * mpc.el (mpc-tagbrowser, mpc):
5859 * net/rcirc.el (rcirc-any-buffer):
5860 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5861 * play/landmark.el (landmark-max-width, landmark-max-height):
5862 * play/zone.el (zone):
5863 * progmodes/compile.el (compilation-goto-locus):
5864 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5865 * progmodes/etags.el (find-tag-other-window):
5866 * progmodes/fortran.el (fortran-column-ruler):
5867 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5868 * progmodes/verilog-mode.el (verilog-point-text):
5869 * reposition.el (reposition-window):
5870 * rot13.el (toggle-rot13-mode):
5871 * server.el (server-switch-buffer):
5872 * shell.el (shell-dynamic-complete-command)
5873 (shell-dynamic-complete-environment-variable):
5874 * simple.el (insert-buffer, set-selective-display)
5875 (delete-completion-window):
5876 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5877 (speedbar-recenter):
5878 * startup.el (fancy-splash-head):
5879 * textmodes/ispell.el (ispell-command-loop):
5880 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5881 * tutorial.el (help-with-tutorial):
5882 * vc/add-log.el (add-change-log-entry):
5883 * vc/compare-w.el (compare-windows):
5884 * vc/ediff-help.el (ediff-indent-help-message):
5885 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5886 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5887 (ediff-setup-control-frame):
5888 * vc/emerge.el (emerge-position-region):
5889 * vc/pcvs-util.el (cvs-bury-buffer):
5890 * window.el (walk-windows, mouse-autoselect-window-select):
5891 * winner.el (winner-set-conf, winner-undo): Related users changed.
5892
38276e01
JB
58932013-08-05 Juanma Barranquero <lekktu@gmail.com>
5894
5895 * frameset.el (frameset--set-id): Doc fix.
5896 (frameset-frame-id, frameset-frame-id-equal-p)
5897 (frameset-locate-frame-id): New functions.
5898 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5899 (frameset-restore): Use them.
5900
12b4c0ea
DA
59012013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5902
5903 Do not call to `selected-frame' where it is assumed by default.
5904 Affected functions are `raise-frame', `redraw-frame',
5905 `frame-first-window', `frame-terminal' and `delete-frame'.
5906 * calendar/appt.el (appt-disp-window):
5907 * epg.el (epg-wait-for-completion):
5908 * follow.el (follow-delete-other-windows-and-split)
5909 (follow-avoid-tail-recenter):
5910 * international/mule.el (set-terminal-coding-system):
5911 * mail/rmail.el (rmail-mail-return):
5912 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5913 * progmodes/f90.el (f90-add-imenu-menu):
5914 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5915 * server.el (server-switch-buffer):
5916 * simple.el (delete-completion-window):
5917 * talk.el (talk):
5918 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5919 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5920 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5921 * vc/ediff.el (ediff-documentation): Related users changed.
5922 * frame.el (selected-terminal): Remove the leftover.
5923
17f25e76
GM
59242013-08-05 Glenn Morris <rgm@gnu.org>
5925
5926 * calendar/calendar.el (calendar-generate-month):
5927 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
5928 (calendar-generate-month, calendar-font-lock-keywords):
5929 Fix for calendar-day-header-width > length of any day name.
17f25e76 5930
063233c3
JB
59312013-08-05 Juanma Barranquero <lekktu@gmail.com>
5932
5933 * desktop.el (desktop-clear): Use new name of sort predicate.
5934
5935 * frameset.el (frameset): Add docstring. Move :version property to its
5936 own `version' slot.
5937 (frameset-copy): Rename from copy-frameset.
5938 (frameset-p): Check more thoroughly.
5939 (frameset-prop): Do not check for :version, which is no longer a prop.
5940 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5941 Use new :never value instead of t.
5942 (frameset-filter-alist): Expand and clarify docstring.
5943 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5944 (frameset-filter-minibuffer, frameset-filter-save-param)
5945 (frameset-filter-restore-param, frameset-filter-iconified):
5946 Add pointer to docstring of frameset-filter-alist.
5947 (frameset-filter-params): Rename filter values to be more meaningful:
5948 :never instead of t, and reverse the meanings of :save and :restore.
5949 (frameset--process-minibuffer-frames): Clarify error message.
5950 (frameset-save): Avoid unnecessary and confusing call to framep.
5951 Use new BOA constructor for framesets.
5952 (frameset--reuse-list): Doc fix.
5953 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5954 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5955 (frameset-minibufferless-first-p): Doc fix.
5956 Rename from frameset-sort-frames-for-deletion.
5957 (frameset-restore): Doc fixes. Use new function names.
5958 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5959
d5671a82
JB
59602013-08-04 Juanma Barranquero <lekktu@gmail.com>
5961
5962 * desktop.el (desktop-restore-forces-onscreen)
5963 (desktop-restore-reuses-frames): Document :keyword constant values.
5964 (desktop-filter-parameters-alist): Remove, now identical to
5965 frameset-filter-alist.
5966 (desktop--filter-tty*): Remove, moved to frameset.el.
5967 (desktop-save-frameset, desktop-restore-frameset):
5968 Do not pass :filters argument.
5969
5970 * frameset.el (frameset-live-filter-alist)
5971 (frameset-persistent-filter-alist): New variables.
5972 (frameset-filter-alist): Use them. Add autoload cookie.
5973 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5974 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5975 `frameset--id' (it's supposed to be internal to frameset.el).
5976 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5977 (frameset--initial-params): New function.
5978 (frameset--get-frame): Use it. Doc fix.
5979 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5980 Accept :all, not 'all.
5981 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5982 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5983 with fbound symbols. Fix frame id matching, and remove matching ids if
5984 the frame being restored is deleted. Obey :delete.
5985
671d5c16
SM
59862013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5987
5988 * subr.el (macrop): New function.
5989 (text-clone--maintaining): New var.
5990 (text-clone--maintain): Rename from text-clone-maintain. Use it
5991 instead of inhibit-modification-hooks.
5992
5993 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5994 a proxy, so as handle autoloads and redefinitions of the target.
5995 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5996
5997 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5998 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5999 (pcase--mutually-exclusive-p): New function.
6000 (pcase--split-consp): Use it.
6001 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6002 mutually exclusive with the current predicate.
6003
6004 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6005 (edebug-macrop): Remove. Use `macrop' instead.
6006 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6007 (ad-macro-p):
6008 * eshell/esh-cmd.el (eshell-macrop):
6009 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6010
1d44e9dc
SM
60112013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6012
6013 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6014 (advice-mapc): New function, using it.
6015 (advice-function-member-p): New function.
6016 (advice--normalize): Store the cdr in advice--saved-rewrite since
6017 that's the part that will be changed.
6018 (advice--symbol-function): New function.
6019 (advice-remove): Handle removal before the function is defined.
6020 Adjust to new advice--saved-rewrite.
6021 (advice-member-p): Use advice-function-member-p and
6022 advice--symbol-function.
6023
5414a283
JB
60242013-08-04 Juanma Barranquero <lekktu@gmail.com>
6025
51d30f2c
JB
6026 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6027 (frameset-filter-minibuffer): Doc fix.
6028 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
6029 (frameset--set-id, frameset--process-minibuffer-frames)
6030 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6031 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 6032
5414a283
JB
6033 * desktop.el (desktop-clear): Only delete frames when called
6034 interactively and desktop-restore-frames is non-nil. Doc fix.
6035 (desktop-read): Set desktop-saved-frameset to nil.
6036
ab419665
XF
60372013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6038
6039 * vc/vc.el (vc-ignore): Rewrite.
6040 (vc-default-ignore-completion-table):
6041 (vc--read-lines):
6042 (vc--add-line, vc--remove-regexp): New functions.
6043
6044 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6045 (vc-svn-ignore-completion-table): New function.
6046
6047 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6048 (vc-hg-ignore-completion-table):
6049 (vc-hg-find-ignore-file): New functions.
6050
6051 * vc/vc-git.el (vc-git-ignore): Rewrite.
6052 (vc-git-ignore-completion-table):
6053 (vc-git-find-ignore-file): New functions.
6054
6055 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6056
6057 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6058 (vc-bzr-ignore-completion-table):
6059 (vc-bzr-find-ignore-file): New functions.
6060
2613dea2
JB
60612013-08-03 Juanma Barranquero <lekktu@gmail.com>
6062
6063 * frameset.el (frameset-prop): New function and setter.
6064 (frameset-save): Do not modify frame list passed by the caller.
6065
9c959872
SM
60662013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6067
6068 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6069
a104f656
SM
60702013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6071
70122acf
SM
6072 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6073 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6074
a104f656
SM
6075 * custom.el (custom-initialize-default, custom-initialize-set)
6076 (custom-initialize-reset, custom-initialize-changed): Affect the
6077 toplevel-default-value (bug#6275, bug#14586).
6078 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6079 for bug#6275.
6080
f078d570
JB
60812013-08-02 Juanma Barranquero <lekktu@gmail.com>
6082
185e3b5a
JB
6083 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6084 Add cl-def* expressions.
6085
f078d570
JB
6086 * frameset.el (frameset-filter-params): Fix order of arguments.
6087
9421876d
JB
60882013-08-02 Juanma Barranquero <lekktu@gmail.com>
6089
6090 Move code related to saving frames to frameset.el.
6091 * desktop.el: Require frameset.
6092 (desktop-restore-frames): Doc fix.
6093 (desktop-restore-reuses-frames): Rename from
6094 desktop-restoring-reuses-frames.
6095 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6096 (desktop-clear): Clear frames too.
6097 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6098 (desktop--filter-tty*, desktop-save, desktop-read):
6099 Use frameset functions.
6100 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6101 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6102 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6103 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6104 (desktop--process-minibuffer-frames, desktop-save-frames)
6105 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6106 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6107 (desktop--sort-states, desktop-restoring-frames-p)
6108 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6109 (desktop-restoring-frameset-p, desktop-restore-frameset)
6110 (desktop--check-dont-save, desktop-save-frameset): New functions.
6111 (desktop--app-id): New constant.
6112 (desktop-first-buffer, desktop-buffer-ok-count)
6113 (desktop-buffer-fail-count): Move before first use.
6114 * frameset.el: New file.
6115
76dc5996
SM
61162013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6117
6118 * files.el: Use lexical-binding.
6119 (dir-locals-read-from-file): Remove unused `err' variable.
6120 (hack-dir-local-variables--warned-coding): New var.
6121 (hack-dir-local-variables): Use it to avoid repeated warnings.
6122 (make-backup-file-name--default-function): New function.
6123 (make-backup-file-name-function): Use it as default.
6124 (buffer-stale--default-function): New function.
6125 (buffer-stale-function): Use it as default.
6126 (revert-buffer-insert-file-contents--default-function): New function.
6127 (revert-buffer-insert-file-contents-function): Use it as default.
6128 (insert-directory): Avoid add-to-list.
6129
6130 * autorevert.el (auto-revert-handler): Simplify.
6131 Use buffer-stale--default-function.
6132
06d36e2b
TH
61332013-08-01 Tassilo Horn <tsdh@gnu.org>
6134
5f648ab4
TH
6135 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6136
06d36e2b
TH
6137 * whitespace.el (whitespace-ensure-local-variables): New function.
6138 (whitespace-cleanup-region): Call it.
6139 (whitespace-turn-on): Call it.
6140
a43dc424
MA
61412013-08-01 Michael Albinus <michael.albinus@gmx.de>
6142
6143 Complete file name handlers.
6144
6145 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6146 (tramp-handle-verify-visited-file-modtime)
6147 (tramp-handle-file-notify-rm-watch): New functions.
6148 (tramp-call-process): Do not bind `default-directory'.
6149
44e18199
JB
6150 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6151 Order alphabetically.
a43dc424
MA
6152 [access-file, add-name-to-file, dired-call-process]:
6153 [dired-compress-file, file-acl, file-notify-rm-watch]:
6154 [file-ownership-preserved-p, file-selinux-context]:
6155 [make-directory-internal, make-symbolic-link, set-file-acl]:
6156 [set-file-selinux-context, set-visited-file-modtime]:
6157 [verify-visited-file-modtime]: Add handler.
6158 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6159
6160 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6161 [file-notify-add-watch, file-notify-rm-watch]:
6162 [set-file-times, set-visited-file-modtime]:
6163 [verify-visited-file-modtime]: Add handler.
6164 (with-tramp-gvfs-error-message)
6165 (tramp-gvfs-handle-set-visited-file-modtime)
6166 (tramp-gvfs-fuse-file-name): Remove.
6167 (tramp-gvfs-handle-file-notify-add-watch)
6168 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6169 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6170
44e18199
JB
6171 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6172 Order alphabetically.
a43dc424
MA
6173 [file-notify-rm-watch ]: Use default Tramp handler.
6174 [executable-find]: Remove private handler.
6175 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6176 `default-directory'.
6177 (tramp-sh-handle-executable-find)
6178 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6179 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6180 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6181 Do not use `format' in `tramp-message'.
6182
6183 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6184 [file-notify-rm-watch, set-visited-file-modtime]:
6185 [verify-visited-file-modtime]: Add handler.
6186 (tramp-smb-call-winexe): Do not bind `default-directory'.
6187
7188b515
XF
61882013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6189
6190 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6191
2412ee1a
DG
61922013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6193
6194 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6195 use it.
6196 (log-view-diff-changeset): Same.
6197 (log-view-diff-common): Call backend command `previous-revision'
6198 to find out the previous revision, in both cases. Swap the
6199 variables `to' and `fr', so that `fr' usually refers to the
6200 earlier revision (Bug#14989).
6201
5002a754
KRC
62022013-07-31 Kan-Ru Chen <kanru@kanru.info>
6203
6204 * ibuf-ext.el (ibuffer-filter-by-filename):
6205 Make it work with dired buffers too.
6206
44e18199 62072013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
6208
6209 * emacs-lisp/re-builder.el (reb-color-display-p):
6210 * files.el (save-buffers-kill-terminal):
6211 * net/browse-url.el (browse-url):
6212 * server.el (server-save-buffers-kill-terminal):
6213 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6214 Prefer nil to selected-frame for the first arg of frame-parameter.
6215
aeca3fbb
XF
62162013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6217
6218 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6219
158bc55c
SB
62202013-07-30 Stephen Berman <stephen.berman@gmx.net>
6221
6222 * minibuffer.el (completion--twq-all): Try and preserve each
6223 completion's case choice (bug#14907).
6224
d50fceab
LMI
62252013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6226
ac38e731
LMI
6227 * net/network-stream.el (open-network-stream): Mention the new
6228 :nogreeting parameter.
6229 (network-stream-open-starttls): Use the :nogreeting parameter
6230 (bug#14938).
6231
1211de50
LMI
6232 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6233
997798bf
LMI
6234 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6235 more natural than popping.
6236
d50fceab 6237 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 6238 (shr-urlify): Highlight under mouse.
d50fceab 6239
5c09de04
XF
62402013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6241
207d1d04
XF
6242 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6243
6244 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6245
5c09de04
XF
6246 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6247 buffer for output.
6248
3cd51eaa
XF
6249 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6250 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 6251
44e18199 6252 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 6253 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
6254
6255 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6256
6257 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6258 buffer for output.
6259
35a89bdd
EZ
62602013-07-29 Eli Zaretskii <eliz@gnu.org>
6261
6262 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6263 initial frame is minibuffer-less. (Bug#14841)
6264
78822e94
MA
62652013-07-29 Michael Albinus <michael.albinus@gmx.de>
6266
6267 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6268 option.
6269
6270 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6271 (tramp-maybe-open-connection): Use it.
6272
9503c190
JB
62732013-07-28 Juanma Barranquero <lekktu@gmail.com>
6274
6275 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6276 minimal set of parameters passed when creating a frame, because
6277 the minibuffer status of a frame cannot be changed later.
6278
d5a845b4
SB
62792013-07-28 Stephen Berman <stephen.berman@gmx.net>
6280
6281 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6282 replace-regexp-in-string and inadvertent omissions in previous change.
6283 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6284 name of filtered items buffer.
d5a845b4 6285
ddeffb17
JB
62862013-07-28 Juanma Barranquero <lekktu@gmail.com>
6287
6288 * desktop.el: Optionally force offscreen frames back onscreen.
6289 (desktop-restoring-reuses-frames): New option.
6290 (desktop--compute-pos, desktop--move-onscreen): New functions.
6291 (desktop--make-frame): Use desktop--move-onscreen.
6292
f5950f7a
AM
62932013-07-27 Alan Mackenzie <acm@muc.de>
6294
6295 Fontify a Java generic method as a function.
6296 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6297 value to t.
6298
ae43b66a
SB
62992013-07-27 Stephen Berman <stephen.berman@gmx.net>
6300
6301 * calendar/todo-mode.el: Add command to rename todo files.
6302 (todo-rename-file): New command.
6303 (todo-key-bindings-t): Add key binding for it. Change the
6304 bindings of todo-filter-regexp-items(-multifile) to use `x'
6305 instead of `r', since the latter is better suited to the new
6306 renaming command.
6307
5ab78d3d
AM
63082013-07-27 Alan Mackenzie <acm@muc.de>
6309
6310 Make Java try-with-resources statement parse properly.
6311 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6312 (c-block-stmt-1-2-key): New language constants/variables.
6313 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6314 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6315 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6316 with c-block-stmt-1-2-key.
5ab78d3d 6317
d85c4d50
JB
63182013-07-27 Juanma Barranquero <lekktu@gmail.com>
6319
6320 * desktop.el (desktop--make-frame): Apply most frame parameters after
6321 creating the frame to force (partially or totally) offscreen frames to
6322 be restored as such.
6323
e4c467f9
XF
63242013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6325
6326 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6327 (Bug#14948)
e4c467f9 6328
7ced0d04
SM
63292013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6330
6331 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6332 `base' arg of backtrace-frame.
6333
fec92060
EZ
63342013-07-26 Eli Zaretskii <eliz@gnu.org>
6335
6336 * simple.el (list-processes): Doc fix.
6337
d58d31fb
JB
63382013-07-26 Juanma Barranquero <lekktu@gmail.com>
6339
6340 * desktop.el (desktop--select-frame):
d85c4d50 6341 Try harder to reuse existing frames.
d58d31fb 6342
53ff3e77
SM
63432013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6344
6345 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6346 (edebug-eval): Use backtrace-eval.
6347 (edebug--display, edebug--recursive-edit): Don't let-bind the
6348 edebug-outer-* vars that keep track of variables we locally let-bind.
6349 (edebug-outside-excursion): Don't restore outside values of locally
6350 let-bound vars.
6351 (edebug--display): Use user-error.
6352 (cl-lexical-debug, cl-debug-env): Remove.
6353
045f7a53
JB
63542013-07-26 Juanma Barranquero <lekktu@gmail.com>
6355
6356 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6357 are restored to be sure that they are visible before deleting any
6358 remaining ones.
6359
59070b32
MM
63602013-07-26 Matthias Meulien <orontee@gmail.com>
6361
742a3501
XF
6362 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6363 vc-print-root-log. (Bug#14948)
59070b32 6364
b1fb3596
RS
63652013-07-26 Richard Stallman <rms@gnu.org>
6366
6367 Add aliases for encrypting mail.
6368 * epa.el (epa-mail-aliases): New option.
6369 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6370 Bind inhibit-read-only so read-only text doesn't ruin everything.
6371 (epa-mail-default-recipients): New subroutine broken out.
6372 Handle epa-mail-aliases.
6373
56ea7291
SM
63742013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6375
6376 Add support for lexical variables to the debugger's `e' command.
6377 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6378 vars, except for debugger-outer-match-data.
6379 (debugger-frame-number): Move check for "on a function call" from
6380 callers into it. Add `skip-base' argument.
6381 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6382 (debugger-env-macro): Only reset the state stored in non-variables,
6383 i.e. current-buffer and match-data.
6384 (debugger-eval-expression): Rewrite using backtrace-eval.
6385 * subr.el (internal--called-interactively-p--get-frame): Remove.
6386 (called-interactively-p):
6387 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6388 `base' arg of backtrace-frame instead.
6389
15ac32d5
GM
63902013-07-26 Glenn Morris <rgm@gnu.org>
6391
8358a09d
GM
6392 * align.el (align-regexp): Doc fix. (Bug#14857)
6393 (align-region): Explicit error if subexpression missing/does not match.
6394
15ac32d5
GM
6395 * simple.el (global-visual-line-mode):
6396 Do not duplicate the mode lighter. (Bug#14858)
6397
f47ad11b
MR
63982013-07-25 Martin Rudalics <rudalics@gmx.at>
6399
6400 * window.el (display-buffer): In display-buffer bind
6401 split-window-keep-point to t, bug#14829.
6402
02530987
JB
64032013-07-25 Juanma Barranquero <lekktu@gmail.com>
6404
6405 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6406 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6407 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6408 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6409 Change accordingly.
f63ebeb5
JB
6410 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6411 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 6412
6ccb9cab 64132013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 6414
6ccb9cab 6415 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 6416
cb3a56d2
JB
64172013-07-25 Juanma Barranquero <lekktu@gmail.com>
6418
6419 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6420 parameter to modify-frame-parameters if the value has not changed;
6421 this is a workaround for bug#14949.
6422 (desktop--make-frame): On cl-delete-if call, check parameter name,
6423 not full parameter.
6424
7aa7fff0
XF
64252013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6426
6427 * vc/vc.el (vc-ignore): New function.
6428
6429 * vc/vc-svn.el (vc-svn-ignore): New function.
6430
6431 * vc/vc-hg.el (vc-hg-ignore): New function.
6432
6433 * vc/vc-git.el (vc-git-ignore): New function.
6434
6435 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6436 (vc-dir-ignore): New function.
6437
6438 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6439 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6440
6441 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6442
6443 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6444
889acc5c
JB
64452013-07-24 Juanma Barranquero <lekktu@gmail.com>
6446
6447 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6448 (desktop-restore-frames): Warn when deleting an existing frame failed.
6449
86c40970
GM
64502013-07-24 Glenn Morris <rgm@gnu.org>
6451
6452 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6453
d5d3c58a
MA
64542013-07-24 Michael Albinus <michael.albinus@gmx.de>
6455
6456 * filenotify.el (file-notify-supported-p):
6457 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6458 Remove functions.
6459
6460 * autorevert.el (auto-revert-use-notify):
6461 (auto-revert-notify-add-watch):
6462 * net/tramp.el (tramp-file-name-for-operation):
6463 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6464 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6465 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6466 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6467 Remove `file-notify-supported-p' entry.
6468
d100084b
GM
64692013-07-24 Glenn Morris <rgm@gnu.org>
6470
6471 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6472 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6473
ac93e56b
SM
64742013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6475
249eea30
SM
6476 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6477 checked with memq (bug#14935).
6478
ac93e56b
SM
6479 * files.el (revert-buffer-function): Use a non-nil default.
6480 (revert-buffer-preserve-modes): Declare var to
6481 provide access to the `preserve-modes' argument.
6482 (revert-buffer): Let-bind it.
6483 (revert-buffer--default): New function, extracted from revert-buffer.
6484
2cdeb903
SM
64852013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6486
6487 * lpr.el: Signal print errors more prominently.
6488 (print-region-function): Don't default to nil.
6489 (lpr-print-region): New function, extracted from print-region-1.
6490 Check lpr's return value and signal an error in case of problem.
6491 (print-region-1): Use it.
6492 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6493 versions instead.
6494 (ps-printer-name): Default to nil.
6495 (ps-printer-name-option): Default to lpr-printer-switch.
6496 (ps-print-region-function): Don't default to nil.
6497 (ps-postscript-code-directory): Simplify default.
6498 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6499 (ps-string-list, ps-eval-switch, ps-flatten-list)
6500 (ps-flatten-list-1): Remove.
6501 (ps-multibyte-buffer): Avoid setq.
6502 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6503 (print-region-function, ps-print-region-function): Don't set them here.
6504
73600831
XF
65052013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6506
0e55c076
XF
6507 * ido.el (ido-fractionp):
6508 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6509 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6510 (ido-max-directory-size, ido-max-dir-file-cache)
6511 (ido-decorations): Doc fix.
6512
73600831
XF
6513 * ansi-color.el: Fix old URL.
6514
3d012865
MM
65152013-07-23 Michael R. Mauger <michael@mauger.com>
6516
e903c210 6517 * progmodes/sql.el: Version 3.3
3d012865
MM
6518 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6519 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6520 (sql-interactive-remove-continuation-prompt): Rewrite, use
6521 functions above. Fix continuation prompt and complete output line
6522 handling.
6523 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6524 redirected output buffer.
6525 (sql-mode): Restore deleted code (Bug#13591).
6526
da77a2e2
JB
65272013-07-23 Juanma Barranquero <lekktu@gmail.com>
6528
6529 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6530
80ff0c71
MA
65312013-07-23 Michael Albinus <michael.albinus@gmx.de>
6532
6533 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6534
6535 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6536 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6537 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6538
b61d71e4
JB
65392013-07-23 Juanma Barranquero <lekktu@gmail.com>
6540
6541 * desktop.el (desktop-clear): Simplify; remove useless checks
6542 against invalid buffer names.
6543 (desktop-list*): Use cl-list*.
6544 (desktop-buffer-info, desktop-create-buffer): Simplify.
6545
c3512092
LL
65462013-07-23 Leo Liu <sdl.web@gmail.com>
6547
6548 * bookmark.el (bookmark-make-record): Restore NAME as a default
6549 value. (Bug#14933)
6550
0ac26976
SM
65512013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6552
7d22ce18
SM
6553 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6554 extracted from autoload--insert-text.
6555 (autoload--insert-text): Remove.
6556 (autoload--print-cookie-text): New function, extracted from
6557 autoload--insert-cookie-text.
6558 (autoload--insert-cookie-text): Remove.
6559 (autoload-generate-file-autoloads): Adjust calls accordingly.
6560
9b2607e8
SM
6561 * winner.el (winner-hook-installed-p): Remove.
6562 (winner-mode): Simplify accordingly.
6563
c43a8618
SM
6564 * subr.el (add-to-list): Fix compiler-macro when `append' is
6565 not constant. Don't use `cl-member' for the base case.
6566
0ac26976
SM
6567 * progmodes/subword.el: Fix boundary case (bug#13758).
6568 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6569 own group.
6570 (subword-backward-regexp): Make it a constant.
6571 (subword-forward-internal): Don't treat a trailing capital as the
6572 beginning of a word.
6573
6874724a
AR
65742013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6575
6576 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6577 global value of tabulated-list-revert-hook (bug#14930).
6578
70f1b5e8
JB
65792013-07-22 Juanma Barranquero <lekktu@gmail.com>
6580
a1c80d9d
JB
6581 * desktop.el: Require 'cl-lib.
6582 (desktop-before-saving-frames-functions): New hook.
6583 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6584 for frames being saved. Rename from desktop--save-minibuffer-frames.
6585 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6586 Do not save frames with non-nil `desktop-dont-save' parameter.
6587 Filter out deleted frames.
a1c80d9d
JB
6588 (desktop--find-frame): Use cl-find-if.
6589 (desktop--select-frame): Use cl-(first|second|third) to access values
6590 of desktop-mini.
6591 (desktop--make-frame): Use cl-delete-if.
6592 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6593 (desktop-restore-frames): Use cl-(first|second|third) to access values
6594 of desktop-mini. Look for visible frame at the end, not while
6595 restoring frames.
6596
70f1b5e8
JB
6597 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6598 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6599 Use string-match-p, looking-at-p (bug#14927).
6600
728dc3cc
JB
66012013-07-21 Juanma Barranquero <lekktu@gmail.com>
6602
56bc453c
JB
6603 * desktop.el (desktop-saved-frame-states):
6604 Rename from desktop--saved-states; all users changed.
6605 (desktop-save-frames): Rename from desktop--save-frames.
6606 Do not save state to desktop file.
6607 (desktop-save): Save desktop-saved-frame-states to desktop file
6608 and reset to nil.
6609 (desktop-restoring-frames-p): New function.
6610 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6611 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6612 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6613
728dc3cc
JB
6614 * desktop.el: Correctly restore iconified frames.
6615 (desktop--filter-iconified-position): New function.
6616 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6617
862f1c9c
GM
66182013-07-20 Glenn Morris <rgm@gnu.org>
6619
c4074c9f
GM
6620 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6621 Let `message' do the formatting.
6622 (def-gdb-preempt-display-buffer): Add explicit format.
6623
d828e5f9
GM
6624 * image-dired.el (image-dired-track-original-file):
6625 Use with-current-buffer.
6626 (image-dired-track-thumbnail): Use with-current-buffer.
6627 Avoid changing point of wrong window.
6628
862f1c9c
GM
6629 * image-dired.el (image-dired-track-original-file):
6630 Avoid changing point of wrong window. (Bug#14909)
6631
f0398ec1 66322013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
6633
6634 * progmodes/gdb-mi.el (gdb-done-or-error):
6635 Guard against "%" in gdb output. (Bug#14127)
6636
1451928f
AS
66372013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6638
763a086d
JB
6639 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6640 (Bug#14826)
f7a03897 6641
1451928f
AS
6642 * international/mule.el (coding-system-iso-2022-flags): Fix last
6643 change.
6644
99107004
KH
66452013-07-20 Kenichi Handa <handa@gnu.org>
6646
763a086d
JB
6647 * international/mule.el (coding-system-iso-2022-flags):
6648 Add `8-bit-level-4'. (Bug#8522)
99107004 6649
48494e06
LMI
66502013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6651
8ba8eec5
LMI
6652 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6653 (bug#14815).
6654
dfbc66e3
LMI
6655 * net/eww.el (eww-process-text-input): Allow inputting when the
6656 point is at the start of the line, as the properties aren't
6657 front-sticky.
6658
48494e06
LMI
6659 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6660 degenerate widths.
6661
77c92cb9
RS
66622013-07-19 Richard Stallman <rms@gnu.org>
6663
aec7da77
RS
6664 * epa.el (epa-popup-info-window): Doc fix.
6665
77c92cb9
RS
6666 * subr.el (split-string): New arg TRIM.
6667
945c5bb1
JB
66682013-07-18 Juanma Barranquero <lekktu@gmail.com>
6669
6670 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6671 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6672
e06ec67f
MA
66732013-07-18 Michael Albinus <michael.albinus@gmx.de>
6674
c7064f05 6675 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
6676 `file-notify-support'. Do not autoload. Adapt all uses.
6677 (file-notify-supported-p): New defun.
6678
c7064f05
JB
6679 * autorevert.el (auto-revert-use-notify):
6680 Use `file-notify-supported-p' instead of `file-notify-support'.
6681 Adapt docstring.
e06ec67f
MA
6682 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6683
6684 * net/tramp.el (tramp-file-name-for-operation):
6685 Add `file-notify-supported-p'.
6686
6687 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6688 New defun.
6689 (tramp-sh-file-name-handler-alist): Add it as handler for
6690 `file-notify-supported-p '.
6691
6692 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6693 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6694 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6695 Add `ignore' as handler for `file-notify-*' functions.
6696
5dc8a629
EZ
66972013-07-17 Eli Zaretskii <eliz@gnu.org>
6698
6699 * simple.el (line-move-partial, line-move): Don't start vscroll or
6700 scroll-up if the current line is not taller than the window.
6701 (Bug#14881)
6702
77aea2fb
DG
67032013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6704
6705 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6706 highlight question marks in the method names as strings.
ac72c08d
DG
6707 (ruby-block-beg-keywords): Inline.
6708 (ruby-font-lock-keyword-beg-re): Extract from
6709 `ruby-font-lock-keywords'.
77aea2fb 6710
18c26d81
JD
67112013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6712
6713 * frame.el (blink-cursor-blinks): New defcustom.
6714 (blink-cursor-blinks-done): New defvar.
6715 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6716 (blink-cursor-timer-function): Check if number of blinks has been
6717 done on X and NS.
6718 (blink-cursor-suspend, blink-cursor-check): New defuns.
6719
da48522e
GM
67202013-07-15 Glenn Morris <rgm@gnu.org>
6721
6722 * edmacro.el (edmacro-format-keys): Fix previous change.
6723
0463c1ef
PE
67242013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6725
6726 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6727 The hack didn't work outside English locales anyway.
6728
b43f6451
JB
67292013-07-15 Juanma Barranquero <lekktu@gmail.com>
6730
6731 * simple.el (define-alternatives): Rename from alternatives-define,
6732 per RMS' suggestion.
6733
b958c0ad
JB
67342013-07-14 Juanma Barranquero <lekktu@gmail.com>
6735
6736 * desktop.el (desktop-restore-frames): Change default to t.
6737 (desktop-restore-in-current-display): Now offer more options.
6738 (desktop-restoring-reuses-frames): New customization option.
6739 (desktop--saved-states): Doc fix.
6740 (desktop-filter-parameters-alist): New variable, renamed and expanded
6741 from desktop--excluded-frame-parameters.
6742 (desktop--target-display): New variable.
6743 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6744 (desktop--filter-tty*, desktop--filter-*-color)
6745 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6746 (desktop--filter-save-desktop-parm)
6747 (desktop-restore-in-original-display-p): New functions.
6748 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6749 (desktop--save-minibuffer-frames): New function, inspired by a similar
6750 function from Martin Rudalics.
6751 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6752 (desktop--restore-in-this-display-p): Remove.
6753 (desktop--find-frame): Rename from desktop--find-frame-in-display
6754 and add predicate argument.
6755 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6756 (desktop--reuse-list): New variable.
6757 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6758 New functions.
6759 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6760
f6dd8b36
MA
67612013-07-14 Michael Albinus <michael.albinus@gmx.de>
6762
6763 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6764
2ce3c565
DG
67652013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6766
763a086d
JB
6767 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6768 Highlight conversion methods on Kernel.
2ce3c565 6769
2cdb7698
AM
67702013-07-13 Alan Mackenzie <acm@muc.de>
6771
6772 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6773 and comment it out. This out-commenting enables certain C++
6774 declarations to be parsed correctly.
6775
1a67b811
EZ
67762013-07-13 Eli Zaretskii <eliz@gnu.org>
6777
1b796d6b
EZ
6778 * international/mule.el (define-coding-system): Doc fix.
6779
1a67b811
EZ
6780 * simple.el (default-font-height): Don't call font-info if the
6781 frame's default font didn't change since the frame was created.
6782 (Bug#14838)
6783
58fbe886
LL
67842013-07-13 Leo Liu <sdl.web@gmail.com>
6785
6786 * ido.el (ido-read-file-name): Guard against non-symbol value.
6787
1f0480d4
FEG
67882013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6789
6790 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6791 in nested defuns.
6792
97ead0e5
LL
67932013-07-13 Leo Liu <sdl.web@gmail.com>
6794
6795 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6796 ido-set-matches call. (Bug#6852)
6797
0880a952
DG
67982013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6799
6800 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6801 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6802 Ruby 2.0.
6803 (ruby-font-lock-keywords): Distinguish calls to functions with
6804 module-like names from module references. Highlight character
6805 literals.
6806
a7d8babb
SDJ
68072013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6808
6809 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6810 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6811
acfcc8c5
JB
68122013-07-12 Juanma Barranquero <lekktu@gmail.com>
6813
6814 * desktop.el (desktop--v2s): Remove unused local variable.
6815 (desktop-save-buffer): Make defvar-local; adjust docstring.
6816 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6817 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6818
051f2775
AS
68192013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6820
6821 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6822
f24e7572
GM
68232013-07-12 Eli Zaretskii <eliz@gnu.org>
6824
6825 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6826 (Bug#14842)
6827
539a920c
GM
68282013-07-12 Glenn Morris <rgm@gnu.org>
6829
6830 * doc-view.el: Require cl-lib at runtime too.
6831 (doc-view-remove-if): Remove.
6832 (doc-view-search-next-match, doc-view-search-previous-match):
6833 Use cl-remove-if.
6834
6835 * edmacro.el: Require cl-lib at runtime too.
6836 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6837 (edmacro-mismatch, edmacro-subseq): Remove.
6838
6839 * shadowfile.el: Require cl-lib.
6840 (shadow-remove-if): Remove.
6841 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6842 Use cl-remove-if.
6843
6844 * wid-edit.el: Require cl-lib.
6845 (widget-choose): Use cl-remove-if.
6846 (widget-remove-if): Remove.
6847
6848 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6849 (ebrowse-delete-if-not): Remove.
6850 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6851 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6852 Use cl-delete-if-not.
6853
1048af7c
JB
68542013-07-12 Juanma Barranquero <lekktu@gmail.com>
6855
6856 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6857 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6858
6c0674ee
LL
68592013-07-12 Leo Liu <sdl.web@gmail.com>
6860
6861 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6862
a19b3c2d
GM
68632013-07-11 Glenn Morris <rgm@gnu.org>
6864
4582a01c
GM
6865 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6866 (edebug-gensym-index, edebug-gensym):
6867 Remove reimplementation of cl-gensym.
6868 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6869
6870 * thumbs.el: Require cl-lib at run-time too.
6871 (thumbs-gensym-counter, thumbs-gensym):
6872 Remove reimplementation of cl-gensym.
6873 (thumbs-temp-file): Use cl-gensym.
6874
a19b3c2d
GM
6875 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6876 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6877 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6878 (ert--union, ert--gensym-counter, ert--gensym-counter)
6879 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6880 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6881 (ert-make-test-unbound, ert--expand-should-1)
6882 (ert--expand-should, ert--should-error-handle-error)
6883 (should-error, ert--explain-equal-rec)
6884 (ert--plist-difference-explanation, ert-select-tests)
6885 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6886 Use cl-lib functions rather than reimplementations.
6887
88f6a933
MA
68882013-07-11 Michael Albinus <michael.albinus@gmx.de>
6889
6890 * net/tramp.el (tramp-methods): Extend docstring.
6891 (tramp-connection-timeout): New defcustom.
6892 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6893 (with-tramp-progress-reporter): Simplify.
6894 (tramp-process-actions): Improve messages.
6895
6896 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6897 * net/tramp-sh.el (tramp-maybe-open-connection):
6898 Use `tramp-connection-timeout'.
6899 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6900 (Bug#14808)
6901
a43d577e
LL
69022013-07-11 Leo Liu <sdl.web@gmail.com>
6903
6904 * ido.el (ido-read-file-name): Conform to the requirements of
6905 read-file-name. (Bug#11861)
6906 (ido-read-directory-name): Conform to the requirements of
6907 read-directory-name.
6908
d77974bf
JB
69092013-07-11 Juanma Barranquero <lekktu@gmail.com>
6910
6911 * subr.el (delay-warning): New function.
6912
35cb8a3e
EZ
69132013-07-10 Eli Zaretskii <eliz@gnu.org>
6914
6915 * simple.el (default-line-height): New function.
6916 (line-move-partial, line-move): Use it instead of computing the
6917 line height inline.
6918 (line-move-partial): Always compute ROWH. If the last line is
6919 partially-visible, but its text is completely visible, allow
6920 cursor to enter such a partially-visible line.
6921
525c5c77
MA
69222013-07-10 Michael Albinus <michael.albinus@gmx.de>
6923
6924 Improve error messages. (Bug#14808)
6925
6926 * net/tramp.el (tramp-current-connection): New defvar, moved from
6927 tramp-sh.el.
0ac26976 6928 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 6929 needed anymore.
0ac26976
SM
6930 (tramp-error-with-buffer): Show message in minibuffer.
6931 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
6932 (with-tramp-progress-reporter): Improve messages.
6933 (tramp-process-actions): Use progress reporter. Delete process in
6934 case of error. Improve messages.
6935
763a086d
JB
6936 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6937 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 6938 (tramp-current-connection): Remove.
525c5c77
MA
6939 (tramp-maybe-open-connection): The car of
6940 `tramp-current-connection' are the first 3 slots of the vector.
6941
c7a4d368
TZ
69422013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6943
6944 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6945 inside continued strings.
6946
954b166e
PE
69472013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6948
6949 Timestamp fixes for undo (Bug#14824).
6950 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6951
56973319
LL
69522013-07-10 Leo Liu <sdl.web@gmail.com>
6953
6954 * files.el (require-final-newline): Allow safe local value.
6955 (Bug#14834)
6956
5550a72c
LL
69572013-07-09 Leo Liu <sdl.web@gmail.com>
6958
6959 * ido.el (ido-read-directory-name): Handle fallback.
6960 (ido-read-file-name): Update DIR to ido-current-directory.
6961 (Bug#1516)
c28b9050 6962 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 6963
70c46b28
DG
69642013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6965
6966 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6967 "autoload". Remove "warn lower camel case" section, previously
6968 commented out. Highlight negation char. Do not highlight the
6969 target in singleton method definitions.
6970
0b64b838
SM
69712013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6972
7fd72e2c
SM
6973 * faces.el (tty-setup-hook): Declare the hook.
6974
0b64b838
SM
6975 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6976 and detect when a guard/pred depends on local vars (bug#14773).
6977 (pcase--u1): Adjust caller.
6978
ab49d60b
EZ
69792013-07-08 Eli Zaretskii <eliz@gnu.org>
6980
6981 * simple.el (line-move-partial, line-move): Account for
6982 line-spacing.
701d79aa
EZ
6983 (line-move-partial): Avoid setting vscroll when the last
6984 partially-visible line in window is of default height.
ab49d60b 6985
2d756ae0
LMI
69862013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6987
6988 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6989 been used a while.
6990
ed095bd7
JB
69912013-07-07 Juanma Barranquero <lekktu@gmail.com>
6992
6993 * subr.el (read-quoted-char): Remove unused local variable `char'.
6994
f1e6674b
MK
69952013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6996
584ee3fc
GM
6997 * ediff.el (ediff-version): Version update.
6998 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6999 (ediff-merge-with-ancestor-command, ediff-directories-command)
7000 (ediff-directories3-command, ediff-merge-directories-command)
7001 (ediff-merge-directories-with-ancestor-command): New functions.
7002 All are command-line interfaces to ediff: to facilitate calling
7003 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
7004
7005 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7006 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 7007
584ee3fc
GM
7008 * viper.el (viper-version): Version update.
7009 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 7010
584ee3fc
GM
70112013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7012
7013 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7014 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7015 (viper-intercept-ESC-key): Simplify.
7016 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7017 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7018 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7019 (viper-setup-ESC-to-escape): New functions.
7020 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7021 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 7022
9aff9b38
EZ
70232013-07-07 Eli Zaretskii <eliz@gnu.org>
7024
5165d44a
JB
7025 * simple.el (default-font-height, window-screen-lines):
7026 New functions.
9aff9b38
EZ
7027 (line-move, line-move-partial): Use them instead of
7028 frame-char-height and window-text-height. This makes scrolling
7029 text smoother when the buffer's default face uses a font that is
7030 different from the frame's default font.
7031
1afb1d07
JD
70322013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7033
7034 * files.el (write-file): Do not display confirm dialog for NS,
7035 it does its own dialog, which can't be cancelled (Bug#14578).
7036
23de972a
EZ
70372013-07-06 Eli Zaretskii <eliz@gnu.org>
7038
7039 * simple.el (line-move-partial): Adjust the row returned by
7040 posn-at-point for the current window-vscroll. (Bug#14567)
7041
54a42486
MA
70422013-07-06 Michael Albinus <michael.albinus@gmx.de>
7043
7044 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7045 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7046 spaces.
7047
34ada5f4
MR
70482013-07-06 Martin Rudalics <rudalics@gmx.at>
7049
7050 * window.el (window-state-put-stale-windows): New variable.
7051 (window--state-put-2): Save list of windows without matching buffer.
7052 (window-state-put): Remove "bufferless" windows if possible.
7053
11e03d89
JB
70542013-07-06 Juanma Barranquero <lekktu@gmail.com>
7055
7056 * simple.el (alternatives-define): Remove leftover :group keyword.
7057 Tweak docstring.
7058
3504a4be
LL
70592013-07-06 Leo Liu <sdl.web@gmail.com>
7060
7061 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7062 (ido-enable-virtual-buffers): New variable.
7063 (ido-buffer-internal, ido-toggle-virtual-buffers)
7064 (ido-make-buffer-list): Use it.
7065 (ido-exhibit): Support turning on and off virtual buffers
7066 automatically.
7067
61e56e2c
JB
70682013-07-06 Juanma Barranquero <lekktu@gmail.com>
7069
7070 * simple.el (alternatives-define): New macro.
7071
321e1a9c
SM
70722013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7073
7074 * subr.el (read-quoted-char): Use read-key.
7075 (sit-for): Let read-event decode tty input (bug#14782).
7076
d610f6dd
SB
70772013-07-05 Stephen Berman <stephen.berman@gmx.net>
7078
7079 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
7080 mode command and externally. Fix various related bugs.
7081 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
7082 (todo-delete-file): New command.
7083 (todo-check-file): New function.
7084 (todo-show): Handle external deletion of the file we're trying to
7085 show (bug#14688). Replace called-interactively-p by an optional
7086 prefix argument to avoid problematic interaction with catch form
7087 when byte compiled (bug#14702).
7088 (todo-quit): Handle external deletion of the archive's todo file.
7089 Make sure the buffer that was visiting the archive file is still
7090 live before trying to bury it.
7091 (todo-category-completions): Handle external deletion of any
7092 category completion files.
7093 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7094 of todo files, in case of external deletion.
7095 (todo-add-file): Replace unnecessary setq by let-binding.
7096 (todo-find-archive): Check whether there are any archives.
7097 Replace unnecessary setq by let-binding.
7098 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
7099 archive buffer whether or not the archive already exists.
7100 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
7101 check if the archive is new; if it is, update list of archives.
7102 (todo-default-todo-file): Allow nil to be a valid value for when
7103 there are no todo files.
7104 (todo-reevaluate-default-file-defcustom): Use corrected definition
7105 of todo-default-todo-file.
7106 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7107 (todo-delete-category, todo-show-categories-table)
7108 (todo-category-number): Clarify comment.
7109 (todo-filter-items): Clarify documentation string.
7110 (todo-show-current-file, todo-display-as-todo-file)
7111 (todo-reset-and-enable-done-separator): Tweak documentation string.
7112 (todo-done-separator): Make separator length window-width, since
7113 bug#2749 is now fixed.
7114
ddbdfd6f
MA
71152013-07-05 Michael Albinus <michael.albinus@gmx.de>
7116
321e1a9c
SM
7117 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7118 Support both "gvfs-monitor-dir" and "inotifywait".
7119 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
7120 `tramp-sh-file-notify-process-filter'.
7121 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7122 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7123
96eb829a
LL
71242013-07-05 Leo Liu <sdl.web@gmail.com>
7125
7126 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7127
cf13177e
YM
71282013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7129
7130 * frame.el (display-pixel-height, display-pixel-width)
7131 (display-mm-height, display-mm-width): Mention behavior on
7132 multi-monitor setups in docstrings.
7133 (w32-display-monitor-attributes-list): Declare function.
7134 (display-monitor-attributes-list): Use it.
7135
864c58ca
MA
71362013-07-04 Michael Albinus <michael.albinus@gmx.de>
7137
7138 * filenotify.el: New package.
7139
7140 * autorevert.el (top): Require filenotify.el.
7141 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7142 instead.
7143 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7144 (auto-revert-notify-handler): Use `file-notify-*' functions.
7145
7146 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7147
321e1a9c
SM
7148 * net/tramp.el (tramp-file-name-for-operation):
7149 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
7150
7151 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7152 for `file-notify-add-watch' and `file-notify-rm-watch'.
7153 (tramp-process-sentinel): Improve trace.
7154 (tramp-sh-handle-file-notify-add-watch)
7155 (tramp-sh-file-notify-process-filter)
7156 (tramp-sh-handle-file-notify-rm-watch)
7157 (tramp-get-remote-inotifywait): New defuns.
7158
96673afe
JL
71592013-07-03 Juri Linkov <juri@jurta.org>
7160
7161 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7162 call of `occur-read-primary-args' to interactive spec.
7163
7164 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7165 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7166
924494f4
MM
71672013-07-03 Matthias Meulien <orontee@gmail.com>
7168
7169 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7170 `Buffer-menu-multi-occur'. Add it to the menu.
7171 (Buffer-menu-mode): Document it in docstring.
7172 (Buffer-menu-multi-occur): New command. (Bug#14673)
7173
56f75efc
DG
71742013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7175
7176 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7177 keywords and built-ins.
7178
9b057d61
GM
71792013-07-03 Glenn Morris <rgm@gnu.org>
7180
208dee4d
GM
7181 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7182
9b057d61
GM
7183 Make info-xref checks case-sensitive by default
7184 * info.el (Info-find-node, Info-find-in-tag-table)
7185 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7186 Add option for exact case matching of nodes.
7187 * info-xref.el (info-xref): New custom group.
7188 (info-xref-case-fold): New option.
7189 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7190
e01aa29c
LL
71912013-07-03 Leo Liu <sdl.web@gmail.com>
7192
7193 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7194
3086ca2e
DG
71952013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7196
7197 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7198 middle of block statement initially, lower the depth. Remove
7199 FIXME comment, not longer valid. Remove middle of block statement
7200 detection, no need to do that anymore since we've been using
7201 `ruby-parse-region' here.
7202
a3b49114
JD
72032013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7204
7205 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7206
08e5c823 72072013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
7208
7209 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7210
2addf922
JB
72112013-07-01 Juanma Barranquero <lekktu@gmail.com>
7212
7213 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7214 (desktop-restore-in-current-display): New customization option.
7215 (desktop--excluded-frame-parameters): Add `font'.
7216 (desktop--save-frames): Rename from desktop--save-windows.
7217 (desktop--restore-in-this-display-p): New function.
7218 (desktop--make-full-frame): Remove unwanted width/height from
7219 full(width|height) frames.
7220 (desktop--restore-frames): Rename from desktop--restore-windows.
7221 Obey desktop-restore-current-display. Do not delete old frames or
7222 select a new frame unless we were able to restore at least one frame.
7223
ef099a94
MN
72242013-06-30 Michal Nazarewicz <mina86@mina86.com>
7225
7226 * files.el (find-file-noselect): Simplify conditional expression.
7227
7228 * remember.el (remember-append-to-file):
7229 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7230
7231 Add `remember-notes' function to store random notes across Emacs
7232 restarts.
7233 * remember.el (remember-data-file): Add :set callback to affect
7234 notes buffer (if any).
7235 (remember-notes): New command.
7236 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7237 New defcustoms for the `remember-notes' function.
7238 (remember-notes-save-and-bury-buffer): New command.
7239 (remember-notes-mode-map): New variable.
7240 (remember-mode): New minor mode.
7241 (remember-notes--kill-buffer-query): New function.
7242 * startup.el (initial-buffer-choice): Add notes to custom type.
7243
0865d506
EZ
72442013-06-30 Eli Zaretskii <eliz@gnu.org>
7245
0ba54312
EZ
7246 * bindings.el (right-char, left-char): Don't call sit-for, this is
7247 no longer needed. Use arithmetic comparison only for numerical
7248 arguments.
7249
ef099a94
MN
7250 * international/mule-cmds.el (select-safe-coding-system):
7251 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 7252
2fae38e5
LMI
72532013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7254
7255 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7256 progression on degenerate tables.
ef099a94 7257 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 7258
a47cbd64
JB
72592013-06-30 Juanma Barranquero <lekktu@gmail.com>
7260
7261 Some fixes and improvements for desktop frame restoration.
7262 It is still experimental and disabled by default.
7263 * desktop.el (desktop--save-windows): Put the selected frame at
7264 the head of the list.
7265 (desktop--make-full-frame): New function.
7266 (desktop--restore-windows): Try to re-select the frame that was
7267 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7268 just show an error message and continue. Set up maximized frames
7269 so they have default non-maximized dimensions.
a47cbd64 7270
6dbafa30
DG
72712013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7272
ef099a94
MN
7273 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7274 Don't start heredoc inside a string or comment.
6dbafa30 7275
4c672a0f
EZ
72762013-06-29 Eli Zaretskii <eliz@gnu.org>
7277
7278 * bindings.el (visual-order-cursor-movement): New defcustom.
7279 (right-char, left-char): Provide visual-order cursor motion by
7280 calling move-point-visually. Update the doc strings.
7281
50960f36
KH
72822013-06-28 Kenichi Handa <handa@gnu.org>
7283
7284 * international/mule.el (define-coding-system): New coding system
7285 properties :inhibit-null-byte-detection,
7286 :inhibit-iso-escape-detection, and :prefer-utf-8.
7287 (set-buffer-file-coding-system): If :charset-list property of
7288 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7289 appropriate for setting.
7290
c1ea3abf
JB
7291 * international/mule-cmds.el (select-safe-coding-system):
7292 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7293 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7294
7295 * international/mule-conf.el (prefer-utf-8): New coding system.
7296 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7297 files.
7298
75dbaf9d
IK
72992013-06-28 Ivan Kanis <ivan@kanis.fr>
7300
eadb6068
IK
7301 * net/shr.el (shr-render-region): New function.
7302
75dbaf9d
IK
7303 * net/eww.el: Autoload `eww-browse-url'.
7304
9ea5cf9f
DG
73052013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7306
c1ea3abf
JB
7307 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7308 Adapt to `package-desc-version' being a list.
7309 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7310 archive element.
7311
39c0e36f
JB
73122013-06-27 Juanma Barranquero <lekktu@gmail.com>
7313
7314 New experimental feature to save&restore window and frame setup.
7315 * desktop.el (desktop-save-windows): New defcustom.
7316 (desktop--saved-states): New var.
7317 (desktop--excluded-frame-parameters): New defconst.
7318 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7319 (desktop--restore-windows, desktop--save-windows): New functions.
7320 (desktop-save): Call `desktop--save-windows'.
7321 (desktop-read): Call `desktop--restore-windows'.
7322
7f13406b
LMI
73232013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7324
ef099a94 7325 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7326
1e072639
SB
73272013-06-27 Stephen Berman <stephen.berman@gmx.net>
7328
7329 * info.el (Info-try-follow-nearest-node): Move search for footnote
7330 above search for node name to prevent missing a footnote (bug#14717).
7331
f3e2cbde
SB
73322013-06-27 Stephen Berman <stephen.berman@gmx.net>
7333
7334 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7335
99906aa0
LL
73362013-06-27 Leo Liu <sdl.web@gmail.com>
7337
7338 * net/eww.el (eww-read-bookmarks): Check file size.
7339
539f75f4
SM
73402013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7341
7342 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7343 advice--pending if newdef is nil or an autoload (bug#13820).
7344 (advice-mapc): New function.
7345
843571cb
LMI
73462013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7347
7348 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7349 probably.
23a75d7f 7350 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7351 (eww-add-bookmark): New command.
7352 (eww-bookmark-mode): New mode and commands.
a285ce99 7353 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7354 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7355
f2136e1e
GM
73562013-06-26 Glenn Morris <rgm@gnu.org>
7357
eab35f39
GM
7358 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7359 (hfy-size): Handle ttys. (Bug#14668)
7360
f2136e1e
GM
7361 * info-xref.el: Update for Texinfo 5 change in *note format.
7362 (info-xref-node-re, info-xref-note-re): New constants.
7363 (info-xref-check-buffer): Use info-xref-note-re.
7364
a49ff80c
SM
73652013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7366
a343d218
SM
7367 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7368
a49ff80c
SM
7369 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7370 nil terminate the loop (bug#14718).
7371
8308f184
LMI
73722013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7373
7374 * net/eww.el: Rework history traversal. When going forward/back,
7375 put these actions into the history, too, so that they can be
7376 replayed.
26bf2b82 7377 (eww-render): Move the history reset to the correct buffer.
8308f184 7378
ec64c273
JL
73792013-06-25 Juri Linkov <juri@jurta.org>
7380
7381 * files-x.el (modify-dir-local-variable): Change the header comment
7382 in the file with directory local variables. (Bug#14692)
7383
e080a9d7
JL
7384 * files-x.el (read-file-local-variable-value): Add `default'.
7385 (Bug#14710)
7386
bfbc93a1
IK
73872013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7388
7389 * net/eww.el (eww-make-unique-file-name): Create a unique file
7390 name before saving to entering `y' accidentally asynchronously.
7391
73922013-06-25 Ivan Kanis <ivan@kanis.fr>
7393
7394 * net/eww.el (eww-download): New command and keystroke.
7395
16f74f10
LMI
73962013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7397
a49ff80c 7398 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7399
7400 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7401 be more consistent with Info and dired.
7402
7403 * net/eww.el (eww-mode-map): Ditto.
7404
12059709
SM
74052013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7406
7407 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7408 packages from archives.
7409 (package-archive-contents): Change format; include obsolete packages.
7410 (package-desc): Use `dir' to mark builtin packages.
7411 (package--from-builtin): Set the `dir' field to `builtin'.
7412 (generated-autoload-file, version-control): Declare.
7413 (package-compute-transaction): Change first arg and return value to be
7414 lists of package-descs. Adjust to new package-archive-contents format.
7415 (package--add-to-archive-contents): Adjust to new
7416 package-archive-contents format.
7417 (package-download-transaction): Arg is now a list of package-descs.
7418 (package-install): If `pkg' is a package name, pass it as
7419 a requirement, so it is subject to the usual (e.g. disabled) checks.
7420 (describe-package): Accept package-desc as well.
7421 (describe-package-1): Describe a specific package-desc. Add links to
7422 other package-descs for the same package name.
7423 (package-menu-describe-package): Pass the actual package-desc.
7424 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7425 works correctly.
7426 (package-desc-status): New function.
7427 (package-menu--refresh): New function, extracted
7428 from package-menu--generate.
7429 (package-menu--generate): Use it.
7430 (package-delete): Update package-alist.
7431 (package-menu-execute): Don't call package-initialize.
7432
7433 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7434 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7435 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7436 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7437 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7438 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7439
8bbdea0f
MR
74402013-06-25 Martin Rudalics <rudalics@gmx.at>
7441
7442 * window.el (window--state-get-1): Workaround for bug#14527.
7443 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7444
e82b0991
LMI
74452013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7446
7447 * net/eww.el (eww-back-url): Implement the history by stashing all
7448 the data into a list.
d3f0f918 7449 (eww-forward-url): Allow going forward in the history, too.
e82b0991 7450
c763842b
SM
74512013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7452
7453 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7454 for values and use read--expression for expressions (bug#14710).
7455 (read-file-local-variable): Avoid setq.
7456 (read-file-local-variable-mode): Use minor-mode-list.
7457
bceff189
RW
74582013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7459
864c58ca 7460 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
7461 for DOI URLs.
7462
45f431c6
RW
74632013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7464
864c58ca 7465 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
7466 Update imenu-support when dialect changes.
7467
f42d8237
LL
74682013-06-25 Leo Liu <sdl.web@gmail.com>
7469
7470 * ido.el (ido-read-internal): Allow forward slash on windows.
7471
be549ce6
LMI
74722013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7473
7474 * net/eww.el (eww): Start of strings is \\`, not ^.
7475
71d4c19d
IK
74762013-06-24 Ivan Kanis <ivan@kanis.fr>
7477
5196f88a
IK
7478 * net/shr.el (shr-browse-url): Fix interactive spec.
7479
71d4c19d
IK
7480 * net/eww.el (eww): Add a trailing slash to domain names.
7481
ae36ca55
JB
74822013-06-24 Juanma Barranquero <lekktu@gmail.com>
7483
7484 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7485
0ebd92a3
LMI
74862013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7487
bdaa086b
LMI
7488 * net/shr.el (shr-browse-url): Use an external browser if given a
7489 prefix.
7490
c763842b 7491 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7492
b89fc156
IK
74932013-06-24 Ivan Kanis <ivan@kanis.fr>
7494
7495 * net/eww.el (eww): Work more correctly for file: URLs.
7496 (eww-detect-charset): Allow quoted charsets.
7497 (eww-yank-page-url): New command and keystroke.
7498
18eb4bca
DU
74992013-06-24 Daiki Ueno <ueno@gnu.org>
7500
7501 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7502 file name of gpg executable.
7503 (epg-context-program): New function.
7504 (epg-context-home-directory): New function.
7505 (epg-context-set-program): New function.
7506 (epg-context-set-home-directory): New function.
7507 (epg--start): Use `epg-context-program' instead of
7508 'epg-gpg-program'.
7509 (epg--list-keys-1): Likewise.
7510
6c6268c8
LL
75112013-06-24 Leo Liu <sdl.web@gmail.com>
7512
7513 * ido.el (ido-read-internal): Fix bug#14620.
7514
5e400cb3
JB
75152013-06-23 Juanma Barranquero <lekktu@gmail.com>
7516
7517 * faces.el (face-documentation): Simplify.
7518 (read-face-attribute, tty-find-type, x-resolve-font-name):
7519 Use `string-match-p'.
7520 (list-faces-display): Use `string-match-p'. Simplify.
7521 (face-spec-recalc): Check face to avoid face alias loops.
7522 (read-color): Use `string-match-p' and non-capturing parenthesis.
7523
f3f9606c
LMI
75242013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7525
7526 * net/shr.el (shr-rescale-image): Use the new
7527 :max-width/:max-height functionality.
7528
a3ca09b9
IK
75292013-06-23 Ivan Kanis <ivan@kanis.fr>
7530
7531 * net/eww.el (eww-search-prefix): New variable.
7532 (eww): Use it.
f865b474
IK
7533 (eww-external-browser): New variable.
7534 (eww-mode-map): New keystroke.
7535 (eww-browse-with-external-browser): New command.
a3ca09b9 7536
e854cfc7
IK
7537 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7538
18bb9e21
JB
75392013-06-23 Juanma Barranquero <lekktu@gmail.com>
7540
7541 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7542 Don't skip aligning the next header field when padding is 0;
7543 otherwise, field width is not respected unless the title is as
7544 wide as the field.
7545
5b165ade
SM
75462013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7547
7548 * emacs-lisp/package.el (package-el-version): Remove.
7549 (package-process-define-package): Fix inf-loop.
7550 (package-install): Allow symbols as arguments again.
7551
12adebe9
DG
75522013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7553
7554 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7555 add some more keyword-like methods.
7556 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7557
388573ee
JB
75582013-06-22 Juanma Barranquero <lekktu@gmail.com>
7559
7560 * bs.el (bs-buffer-show-mark): Make defvar-local.
7561 (bs-mode): Use setq-local.
7562
7563 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7564 (emacs-lock--try-unlocking): Make defvar-local.
7565
4582a01c 75662013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 7567
2663dd23
GM
7568 * play/cookie1.el (cookie-apropos): Minor simplification.
7569
3d94f3ad
GM
7570 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7571
f72e2fdb
DG
75722013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7573
7574 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7575 `regexp-opt', it breaks the build during dumping.
7576
73eab938
DG
75772013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7578
c763842b
SM
7579 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7580 Highlight keyword-like methods on Kernel and Module with
73eab938 7581 font-lock-builtin-face.
5cf8176d
DG
7582 (auto-mode-alist): Consolidate different entries into one regexp
7583 and add more *file-s.
73eab938 7584
d26255f6
SB
75852013-06-21 Stephen Berman <stephen.berman@gmx.net>
7586
7587 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7588
7589 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7590 (diary-entry): Use it in the action of this button type instead of
7591 diary-goto-entry.
7592
7593 * calendar/todo-mode.el: New version.
7594 (todo-add-category): Append new category to end of file and give
7595 it the highest number, instead of putting it at the beginning and
7596 giving it 0. Incorporate noninteractive functionality.
7597 (todo-forward-category): Adapt to 1-based category numbering.
7598 Allow skipping over archived categories.
7599 (todo-backward-category): Derive from todo-forward-category.
7600 (todo-backward-item, todo-forward-item): Make noninteractive and
7601 delegate interactive part to new commands. Make sensitive to done items.
7602 (todo-categories): Make value an alist of category names and
7603 vectors of item counts.
7604 (todo-category-beg): Make a defconst.
7605 (todo-category-number): Use 1 instead of 0 as initial value.
7606 (todo-category-select): Make sensitive to overlays, optional item
7607 highlighting and done items.
7608 (todo-delete-item): Make sensitive to overlays and marked and done items.
7609 (todo-edit-item): Make sensitive to overlays and editing of
7610 date/time header optional. Add format checks.
7611 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7612 no-op if point is not on an item. Advertise using todo-edit-quit.
7613 (todo-edit-mode): Make sensitive to new format, font-locking, and
7614 multiple todo files.
7615 (todo-insert-item, todo-insert-item-here): Derive from
7616 todo-basic-insert-item and extend functionality.
7617 (todo-item-end, todo-item-start): Make sensitive to done items.
7618 (todo-item-string): Don't return text properties. Restore point.
7619 (todo-jump-to-category): Make sensitive to multiple todo files and
7620 todo archives. Use extended category completion.
7621 (todo-lower-item, todo-raise-item): Rename to *-priority and
7622 derive from todo-set-item-priority.
7623 (todo-mode): Derive from special-mode. Make sensitive to new
7624 format, font-locking and multiple todo files. Make read-only.
7625 (todo-mode-map): Don't suppress digit keys, so they can supply
7626 prefix arguments. Add many new key bindings.
7627 (todo-prefix): Insert as an overlay instead of file text.
7628 Change semantics from diary date expression to purely visual mark.
7629 (todo-print): Rename to todo-print-buffer. Make buffer display
7630 features printable. Remove option to restrict number of items
7631 printed. Add option to print to file.
7632 (todo-print-function): Rename to todo-print-buffer-function.
7633 (todo-quit): Extend to handle exiting new todo modes.
7634 (todo-remove-item): Make sensitive to overlays.
7635 (todo-save): Extend to buffers of filtered items.
7636 (todo-show): Make sensitive to done items, multiple todo files and
7637 new todo modes. Offer to convert legacy todo file before creating
7638 first new todo file.
7639 (todo-show-priorities): Rename to todo-top-priorities.
7640 Change semantics of value 0.
7641 (todo-top-priorities): Rename to todo-filter-top-priorities,
7642 derive from todo-filter-items and extend functionality.
7643 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7644 and extend functionality to other types of filtered items.
7645 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7646 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7647 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7648 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7649 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7650 (todo-edit-mode-hook, todo-entry-prefix-function)
7651 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7652 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7653 (todo-initials, todo-insert-threshold, todo-item-string-start)
7654 (todo-line-string, todo-menu, todo-mode-hook)
7655 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7656 (todo-print-priorities, todo-remove-separator)
7657 (todo-save-top-priorities-too, todo-string-count-lines)
7658 (todo-string-multiline-p, todo-time-string-format)
7659 (todo-tmp-buffer-name): Remove.
7660 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7661 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7662 (todo-edit-category-diary-inclusion)
7663 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7664 (todo-edit-file, todo-edit-item-date-day)
7665 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7666 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7667 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7668 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7669 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7670 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7671 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7672 (todo-filter-top-priorities-multifile, todo-find-archive)
7673 (todo-find-filtered-items-file, todo-go-to-source-item)
7674 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7675 (todo-jump-to-archive-category, todo-lower-category)
7676 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7677 (todo-move-category, todo-move-item, todo-next-button)
7678 (todo-next-item, todo-padded-string, todo-powerset)
7679 (todo-previous-button, todo-previous-item)
7680 (todo-print-buffer-to-file, todo-raise-category)
7681 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7682 (todo-set-category-number, todo-set-item-priority)
7683 (todo-set-top-priorities-in-category)
7684 (todo-set-top-priorities-in-file, todo-show-categories-table)
7685 (todo-sort-categories-alphabetically-or-numerically)
7686 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7687 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7688 (todo-toggle-item-header, todo-toggle-item-highlighting)
7689 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7690 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7691 (todo-unarchive-items, todo-unmark-category): New commands.
7692 (todo-absolute-file-name, todo-add-to-buffer-list)
7693 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7694 (todo-basic-insert-item, todo-category-completions)
7695 (todo-category-number, todo-category-string-matcher-1)
7696 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7697 (todo-check-format, todo-clear-matches)
7698 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7699 (todo-current-category, todo-date-string-matcher)
7700 (todo-define-insertion-command, todo-diary-expired-matcher)
7701 (todo-diary-goto-entry, todo-diary-item-p)
7702 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7703 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7704 (todo-done-item-section-p, todo-done-separator)
7705 (todo-done-string-matcher, todo-files, todo-filter-items)
7706 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7707 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7708 (todo-insert-category-line, todo-insert-item-from-calendar)
7709 (todo-insert-sort-button, todo-insert-with-overlays)
7710 (todo-insertion-command-name, todo-insertion-key-bindings)
7711 (todo-label-to-key, todo-longest-category-name-length)
7712 (todo-make-categories-list, todo-mode-external-set)
7713 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7714 (todo-modes-set-3, todo-multiple-filter-files)
7715 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7716 (todo-read-category, todo-read-date, todo-read-dayname)
7717 (todo-read-file-name, todo-read-time)
7718 (todo-reevaluate-category-completions-files-defcustom)
7719 (todo-reevaluate-default-file-defcustom)
7720 (todo-reevaluate-filelist-defcustoms)
7721 (todo-reevaluate-filter-files-defcustom)
7722 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7723 (todo-reset-done-separator, todo-reset-done-separator-string)
7724 (todo-reset-done-string, todo-reset-global-current-todo-file)
7725 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7726 (todo-reset-prefix, todo-set-categories)
7727 (todo-set-date-from-calendar, todo-set-show-current-file)
7728 (todo-set-top-priorities, todo-short-file-name)
7729 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7730 (todo-total-item-counts, todo-update-buffer-list)
7731 (todo-update-categories-display, todo-update-categories-sexp)
7732 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7733 New functions.
7734 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7735 New major modes.
7736 (todo-categories, todo-display, todo-edit, todo-faces)
7737 (todo-filtered): New defgroups.
7738 (todo-archived-only, todo-button, todo-category-string, todo-date)
7739 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7740 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7741 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7742 (todo-add-item-if-new-category, todo-always-add-time-string)
7743 (todo-categories-align, todo-categories-archived-label)
7744 (todo-categories-category-label, todo-categories-diary-label)
7745 (todo-categories-done-label, todo-categories-number-separator)
7746 (todo-categories-todo-label, todo-categories-totals-label)
7747 (todo-category-completions-files, todo-completion-ignore-case)
7748 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7749 (todo-done-separator-string, todo-done-string)
7750 (todo-files-function, todo-filter-done-items, todo-filter-files)
7751 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7752 (todo-initial-category, todo-initial-file, todo-item-mark)
7753 (todo-legacy-date-time-regexp, todo-mode-line-function)
7754 (todo-nondiary-marker, todo-number-prefix)
7755 (todo-print-buffer-function, todo-show-current-file)
7756 (todo-show-done-only, todo-show-first, todo-show-with-done)
7757 (todo-skip-archived-categories, todo-top-priorities-overrides)
7758 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7759 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7760 New defcustoms.
7761 (todo-category-done, todo-date-pattern, todo-date-string-start)
7762 (todo-diary-items-buffer, todo-done-string-start)
7763 (todo-filtered-items-buffer, todo-item-start)
7764 (todo-month-abbrev-array, todo-month-name-array)
7765 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7766 (todo-top-priorities-buffer): New defconsts.
7767 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7768 (todo-categories-with-marks, todo-category-string-face)
7769 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7770 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7771 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7772 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7773 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7774 (todo-font-lock-keywords, todo-global-current-todo-file)
7775 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7776 (todo-insertion-commands-args)
7777 (todo-insertion-commands-args-genlist)
7778 (todo-insertion-commands-names, todo-insertion-map)
7779 (todo-key-bindings-t, todo-key-bindings-t+a)
7780 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7781 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7782 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7783 (todo-visited): New variables.
7784
cad5d1cb
GM
77852013-06-21 Glenn Morris <rgm@gnu.org>
7786
7787 * play/cookie1.el (cookie-apropos): Add optional display argument.
7788 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7789 (psychoanalyze-pinhead): Use cookie-doctor.
7790
9e277302
JB
77912013-06-21 Juanma Barranquero <lekktu@gmail.com>
7792
7793 * emacs-lisp/package.el (tar-get-file-descriptor)
7794 (tar--extract): Declare.
7795
c5b0993e
EW
77962013-06-21 Eduard Wiebe <usenet@pusto.de>
7797
7798 Extend flymake's warning predicate to be a function (bug#14217).
7799 * progmodes/flymake.el (flymake-warning-predicate): New.
7800 (flymake-parse-line): Use it.
7801 (flymake-warning-re): Make obsolete alias to
7802 `flymake-warning-predicate'.
7803
a7d2d465
SM
78042013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7805
7806 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7807 (package-obsolete-list): Remove.
7808 (package-activate): Remove min-version argument. Add `force' argument.
7809 Adjust to new package-alist format.
7810 (package-mark-obsolete): Remove.
7811 (package-unpack): Force reload of the package's autoloads.
7812 (package-installed-p): Check builtins if the installed package is not
7813 recent enough.
7814 (package-initialize): Don't reset package-obsolete-list.
7815 Don't specify which package version to activate.
7816 (package-process-define-package, describe-package-1)
7817 (package-menu--generate): Adjust to new package-alist format.
7818
cedf5c9d
JB
78192013-06-21 Juanma Barranquero <lekktu@gmail.com>
7820
7821 * allout-widgets.el (allout-widgets-mode-off)
7822 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7823 (allout-widgets-post-command-business)
7824 (allout-widgets-after-copy-or-kill-function)
7825 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7826 (allout-decorate-item-and-context)
7827 (allout-graphics-modification-handler): Fix typos in docstrings.
7828 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7829
7830 * cmuscheme.el (scheme-start-file): Doc fix.
7831 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7832 (scheme-input-filter): Use `string-match-p'.
7833
7834 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7835
7836 * dired-x.el: Use Dired consistently in docstrings.
7837
7838 * dired.el: Use Dired consistently in docstrings.
7839 (dired-readin, dired-mode): Use `setq-local'.
7840 (dired-switches-alist): Make defvar-local.
7841 (dired-buffers-for-dir): Use `zerop'.
7842 (dired-safe-switches-p, dired-switches-escape-p)
7843 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7844 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7845 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7846 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7847 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7848 (dired-toggle-marks, dired-mark-files-containing-regexp)
7849 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7850 (dired-flag-auto-save-files, dired-flag-backup-files):
7851 Use `looking-at-p'.
7852 (dired-mark-files-regexp, dired-build-subdir-alist):
7853 Use `string-match-p', `looking-at-p'.
7854
7855 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7856 (direct-print-region-helper): Use `string-match-p'.
7857
aed838b5
LL
78582013-06-21 Leo Liu <sdl.web@gmail.com>
7859
cedf5c9d
JB
7860 * comint.el (comint-redirect-results-list-from-process):
7861 Fix infinite loop.
aed838b5 7862
d80a808f
LMI
78632013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7864
7865 * net/eww.el (eww-update-header-line-format): Quote % characters.
7866
e7a526e3
GM
78672013-06-21 Glenn Morris <rgm@gnu.org>
7868
7869 * play/cookie1.el (cookie): New custom group.
7870 (cookie-file): New option.
7871 (cookie-check-file): New function.
7872 (cookie): Make it interactive. Make start and end messages optional.
7873 Interactively, display the result. Default to cookie-file.
7874 (cookie-insert): Default to cookie-file.
7875 (cookie-snarf): Make start and end messages optional.
7876 Default to cookie-file. Use with-temp-buffer.
7877 (cookie-read): Rename from read-cookie.
7878 Make start and end messages optional. Default to cookie-file.
7879 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7880 Do not autoload it.
e7a526e3
GM
7881 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7882 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7883
62efb35e
LL
78842013-06-21 Leo Liu <sdl.web@gmail.com>
7885
7886 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7887
21e3f963
GM
78882013-06-21 Glenn Morris <rgm@gnu.org>
7889
7890 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7891
fd846ab4
SM
78922013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7893 Daniel Hackney <dan@haxney.org>
7894
7895 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7896 Consolidate the single-file vs tarball code.
7897 (package-desc-suffix): New function.
7898 (package-desc-full-name): Don't bother inlining it.
7899 (package-load-descriptor): Return the new package-desc.
7900 (package-mark-obsolete): Remove unused arg `package'.
7901 (package-unpack): Make it work for single files as well.
7902 Make it update package-alist.
7903 (package--make-autoloads-and-stuff): Rename from
7904 package--make-autoloads-and-compile. Don't compile any more.
7905 (package--compile): New function.
7906 (package-generate-description-file): New function, extracted from
7907 package-unpack-single.
7908 (package-unpack-single): Remove.
7909 (package--with-work-buffer): Add indentation and debugging info.
7910 (package-download-single): Remove.
7911 (package-install-from-archive): Rename from package-download-tar, make
7912 it take a pkg-desc, and make it work for single files as well.
7913 (package-download-transaction): Simplify.
7914 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7915 external tar program.
7916 (package-install-from-buffer): Remove `pkg-desc' argument.
7917 Use package-tar-file-info for tar-mode buffers.
7918 (package-install-file): Simplify accordingly.
7919 (package-archive-base): Change to take a pkg-desc.
7920 * tar-mode.el (tar--check-descriptor): New function, extracted from
7921 tar-get-descriptor.
7922 (tar-get-descriptor): Use it.
7923 (tar-get-file-descriptor): New function.
7924 (tar--extract): New function, extracted from tar-extract.
7925 (tar--extract): Use it.
7926 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7927 case the summary uses non-ascii. Adjust to new calling convention of
7928 package-tar-file-info.
7929
b7deae5e
LL
79302013-06-21 Leo Liu <sdl.web@gmail.com>
7931
fd846ab4
SM
7932 * comint.el (comint-redirect-results-list-from-process):
7933 Fix random delay. (Bug#14681)
b7deae5e 7934
7a65a0b2
JB
79352013-06-21 Juanma Barranquero <lekktu@gmail.com>
7936
7937 * profiler.el (profiler-format-number): Use log, not log10.
7938
1493c2af
JB
79392013-06-20 Juanma Barranquero <lekktu@gmail.com>
7940
7941 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7942
aff6371e
SM
79432013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7944
7945 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7946 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7947 yet available.
7948 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7949 (AUTOGENEL): ... here.
7950 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7951 (cl--defsubst-expand): Use it.
7952
89561f72
PE
79532013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7954
7955 * subr.el (log10): Move here from C code, and declare as obsolete.
7956 All uses of (log10 X) replaced with (log X 10).
7957
47199123
JB
79582013-06-20 Juanma Barranquero <lekktu@gmail.com>
7959
7960 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7961 Declare with `defvar-local'.
7962 (tabulated-list-use-header-line, tabulated-list-entries)
7963 (tabulated-list-padding, tabulated-list-printer)
7964 (tabulated-list-sort-key): Declare with `defvar-local'.
7965 (tabulated-list-init-header, tabulated-list-print-fake-header):
7966 Use `setq-local'.
7967
4a172eab
MA
79682013-06-20 Michael Albinus <michael.albinus@gmx.de>
7969
47199123
JB
7970 * arc-mode.el (archive-mode): Add `archive-write-file' to
7971 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 7972
5fc0acc0
JB
79732013-06-20 Juanma Barranquero <lekktu@gmail.com>
7974
d5b27848
JB
7975 * cus-edit.el (custom-commands): Fix typos.
7976 (custom-display): Fix tooltip text.
7977 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7978 Fix typos in docstrings.
7979 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7980 (custom-unlispify-menu-entry, custom-magic-value-create)
7981 (custom-add-see-also, custom-group-value-create): Use ?\s.
7982 (custom-guess-type, customize-apropos, editable-field)
7983 (custom-face-value-create): Use `string-match-p'.
7984 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7985
7986 * custom.el (custom-load-symbol): Use `string-match-p'.
7987
a5c581d8
JB
7988 * ansi-color.el: Convert to lexical binding.
7989 (ansi-colors): Fix URL.
7990 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7991 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7992 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7993
970ad972
G
79942013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7995
7996 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7997
7998 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7999
80002013-06-19 Tom Tromey <tromey@redhat.com>
8001
8002 * net/eww.el (eww-top-url): Remove.
8003 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8004 (eww-render): Set new variables. Don't set eww-top-url.
8005 (eww-handle-link): Handle "prev", "home", and "contents".
8006 Downcase the rel text.
8007 (eww-top-url): Choose best top URL.
8008
80092013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8010
8011 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8012 relying in widget.el. Using widget.el leads to too many
8013 user interface inconsistencies.
8014 (eww-self-insert): Implement entering commands in text fields.
8015 (eww-process-text-input): New function to make text input field editing
8016 work.
8017 (eww-submit): Rewrite to use the new-style form methods.
8018 (eww-select-display): Display the correct selected item.
8019 (eww-change-select): Implement changing the select value.
8020 (eww-toggle-checkbox): Implement radio/checkboxes.
8021 (eww-update-field): Fix compilation error.
8022 (eww-tag-textarea): Implement <textarea>.
8023
8024 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8025 we don't shadow mode-specific bindings.
8026
8027 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8028 nothing to push.
8029
8030 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8031
4582a01c 80322013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
8033
8034 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8035
15b263dc
MA
80362013-06-19 Michael Albinus <michael.albinus@gmx.de>
8037
8038 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8039 not needed.
8040
8041 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8042
8f5297f7
LMI
80432013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8044
8045 * net/browse-url.el (browse-url-browser-function):
8046 `eww-browse-url' has the right calling signature, `eww' does not.
8047
011c4552
GM
80482013-06-19 Glenn Morris <rgm@gnu.org>
8049
2285bd27
GM
8050 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8051 Only eval autoloaded macros.
8052 (byte-compile-autoload): Only give the macro warning for macros.
8053
1d653303
GM
8054 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8055 (ps-underlined-faces): Declare.
8056
bdd779ec
GM
8057 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8058 (speedbar-add-supported-extension): Declare.
8059
011c4552
GM
8060 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8061 Don't include a date stamp in the header of the generated file;
8062 it leads to needless differences between output files.
8063
e59dfb0e
MA
80642013-06-19 Michael Albinus <michael.albinus@gmx.de>
8065
c763842b
SM
8066 * net/secrets.el (secrets-struct-secret-content-type):
8067 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 8068 Some servers do not offer introspection.
e59dfb0e 8069
102626e2
SM
80702013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8071
8072 * electric.el (electric-pair-mode): Improve interaction with
8073 electric-layout-mode.
8074 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8075 (electric-pair-syntax): Use text-mode-syntax-table in comments
8076 and strings.
8077 (electric-pair--insert): New function.
8078 (electric-pair-post-self-insert-function): Use it and
8079 electric--after-char-pos.
8080
ad528125
LL
80812013-06-19 Leo Liu <sdl.web@gmail.com>
8082
8083 * progmodes/octave.el (octave-help): Fix regexp.
8084
924d6997
G
80852013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8086
8087 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8088 (shr-table-horizontal-line): Allow nil as a value, and change the
8089 default.
8090 (shr-insert-table-ruler): Respect the nil value.
8091
80922013-06-18 Tom Tromey <tromey@barimba>
8093
8094 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8095 New defvars.
8096 (eww-open-file): New defun.
8097 (eww-render): Initialize new variables.
8098 (eww-display-html): Handle "link" and "a".
8099 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8100 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8101 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
8102 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8103 New defuns.
924d6997 8104
d1bbba4f
DG
81052013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8106
8107 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8108 Distinguish ternary operator tokens from slash symbol and slash
8109 char literal.
8110
14dd22d2
JB
81112013-06-18 Juanma Barranquero <lekktu@gmail.com>
8112
8113 Convert symbol prettification into minor mode and global minor mode.
8114
8115 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8116 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8117 (prettify-symbols--keywords): Rename from
8118 `prog-prettify-symbols-alist' and make a local defvar.
8119 (prettify-symbols--compose-symbol): Rename from
8120 `prog--prettify-font-lock-compose-symbol'.
8121 (prettify-symbols--make-keywords): Rename from
8122 `prog-prettify-font-lock-symbols-keywords' and simplify.
8123 (prog-prettify-install): Remove.
8124 (prettify-symbols-mode): New minor mode, based on
8125 `prog-prettify-install'.
8126 (turn-on-prettify-symbols-mode): New function.
8127 (global-prettify-symbols-mode): New globalized minor mode.
8128
8129 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8130 * progmodes/cfengine.el (cfengine3-mode):
8131 * progmodes/perl-mode.el (perl-mode): Don't call
8132 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8133
292c880c
JL
81342013-06-18 Juri Linkov <juri@jurta.org>
8135
8136 * files-x.el (modify-file-local-variable-message): New function.
8137 (modify-file-local-variable)
8138 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8139 and call `modify-file-local-variable-message' when it's non-nil.
8140 (add-file-local-variable, delete-file-local-variable)
8141 (add-file-local-variable-prop-line)
8142 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8143 and use it. (Bug#9820)
8144
0950aa27
JL
81452013-06-18 Juri Linkov <juri@jurta.org>
8146
8147 * emulation/vi.el (vi-shell-op):
8148 * emulation/vip.el (vip-execute-com, ex-command):
8149 * emulation/viper-cmd.el (viper-exec-bang):
8150 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8151 the call of `shell-command-on-region'. (Bug#14637)
8152
8153 * simple.el (shell-command-on-region): Doc fix.
8154
8fbcca16
SM
81552013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8156
8157 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8158 (bug#14633).
8159
dd7426ea
GM
81602013-06-18 Glenn Morris <rgm@gnu.org>
8161
4ba54f7d
GM
8162 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8163
dd7426ea
GM
8164 * newcomment.el (comment-search-forward, comment-search-backward):
8165 Doc fix. (Bug#14376)
8166
58aa805b
JB
81672013-06-18 Juanma Barranquero <lekktu@gmail.com>
8168
8169 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8170 (buffer-face-mode-invoke): Doc fix.
8171
9a08a617
MM
81722013-06-18 Matthias Meulien <orontee@gmail.com>
8173
8174 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 8175 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 8176
f2f426ca
GM
81772013-06-18 Glenn Morris <rgm@gnu.org>
8178
9445f99b
GM
8179 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8180 Replace obsolete function generic-make-keywords with its expansion.
8181
e0df2d14
GM
8182 * progmodes/python.el (ffap-alist): Declare.
8183
f2f426ca
GM
8184 * textmodes/reftex.el (bibtex-mode-map): Declare.
8185
f7f9a720
SM
81862013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8187
8188 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8189 (package-unpack, package-unpack-single): Return the pkg-dir.
8190 (package-download-transaction): Use it to update package-alist.
8191
57ff04e0
LMI
81922013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8193
8194 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8195 possible choice.
8196
c048c022
JL
81972013-06-17 Juri Linkov <juri@jurta.org>
8198
8199 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8200
b5bcaee5
DG
82012013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8202
a020afb9
JB
8203 * emacs-lisp/package.el (package-load-descriptor):
8204 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
8205 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8206
551e07e5
JB
82072013-06-17 Juanma Barranquero <lekktu@gmail.com>
8208
8209 * startup.el (command-line): Expand package name returned by
8210 `package--description-file' (bug#14639).
8211
d363bffb
DG
82122013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8213
8214 * emacs-lisp/package.el (package-load-descriptor): Do not call
8215 `emacs-lisp-mode', just use its syntax table.
8216
f612933b
JB
82172013-06-17 Juanma Barranquero <lekktu@gmail.com>
8218
8219 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8220 `font-lock-extra-managed-props' if any prettifying keyword is added.
8221 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8222 (prog-mode): Use `setq-local'.
8223
db3b7db5
SM
82242013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8225
8226 * international/characters.el (standard-case-table): Set syntax of ?»
8227 and ?« to punctuation.
8228
f3d674df
JB
82292013-06-16 Juanma Barranquero <lekktu@gmail.com>
8230
8231 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8232 Save relevant match data before calling `syntax-ppss' (bug#14595).
8233
31489a32
JL
82342013-06-15 Juri Linkov <juri@jurta.org>
8235
8236 * files-x.el (modify-file-local-variable-prop-line): Add local
8237 variables to the end of the existing comment on the first line.
8238 Use `file-auto-mode-skip' to skip interpreter magic line,
8239 and also skip XML declaration.
8240
66bd25ab
SM
82412013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8242
8243 * startup.el (package--builtin-versions): New var.
8244 (package-subdirectory-regexp): Remove.
8245 (package--description-file): Hard code its value instead.
8246
8247 * emacs-lisp/package.el: Don't activate packages older than builtin.
8248 (package-obsolete-list): Rename from package-obsolete-alist, and make
8249 it into a simple list of package-desc.
8250 (package-strip-version): Remove.
8251 (package-built-in-p): Use package--builtin-versions.
8252 (package-mark-obsolete): Simplify.
8253 (package-process-define-package): Mark it obsolete if older than the
8254 builtin version.
8255 (package-handle-response): Use line-end-position.
8256 (package-read-archive-contents, package--download-one-archive):
8257 Simplify.
8258 (package--add-to-archive-contents): Skip if older than the builtin or
8259 installed version.
8260 (package-menu-describe-package): Fix last change.
8261 (package-list-unversioned): New var.
8262 (package-menu--generate): Use it.
8263
8264 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8265 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8266 (autoload-builtin-package-versions): New variable.
8267 (autoload-generate-file-autoloads): Use them.
8268 Remove the list of autoloaded functions/macros from the
8269 (autoload...) comments.
8270
8271 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8272
9583ec36
EZ
82732013-06-15 Eli Zaretskii <eliz@gnu.org>
8274
8275 * simple.el (line-move-partial): Don't jump to the next screen
8276 line as soon as it becomes visible. Instead, continue enlarging
8277 the vscroll until the portion of a tall screen line that's left on
8278 display is about the height of the frame's default font.
8279 (Bug#14567)
8280
f0100d8a
GM
82812013-06-15 Glenn Morris <rgm@gnu.org>
8282
b86a85ca
GM
8283 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8284 compilation-error-regexp-alist void, or local while let-bound.
8285
f0100d8a
GM
8286 * progmodes/make-mode.el (makefile-mode-syntax-table):
8287 Treat "=" as punctuation. (Bug#14614)
8288
05e7ce90
JB
82892013-06-15 Juanma Barranquero <lekktu@gmail.com>
8290
8291 * help-fns.el (describe-variable):
8292 Add extra line for permanent-local variables.
8293
12e5e86e
SH
82942013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8295
8296 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8297 Add export, import, library. (Bug#9164)
8298 (library): Set indent function.
8299
230dcbaf
GM
83002013-06-14 Glenn Morris <rgm@gnu.org>
8301
8302 * term/xterm.el (xterm--query):
8303 Stop after first matching handler. (Bug#14615)
8304
e36b2d20 83052013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8306
8307 Add support for dired in saveplace.
8308 * dired.el (dired-initial-position-hook): New variable.
8309 (dired-initial-position): Call hook to place cursor position.
8310 * saveplace.el (save-place-to-alist): Add dired position.
8311 (save-place-dired-hook): New function.
8312
0b31660d
SM
83132013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8314
bf1e6ae8
SM
8315 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8316 through a symbol rather than letrec.
8317
1b8dff23
SM
8318 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8319 (package-desc): Add `dir' field.
8320 (package-desc-full-name): New function.
8321 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8322 (package-maybe-load-descriptor): Remove.
8323 (package-load-all-descriptors): Just call package-load-descriptor.
8324 (package--disabled-p): New function.
8325 (package-desc-vers, package-desc-doc): Remove aliases.
8326 (package--dir): Remove function.
8327 (package-activate): Check if a package is disabled.
8328 (package-process-define-package): New function, extracted from
8329 define-package.
8330 (define-package): Turn into a place holder.
8331 (package-unpack-single, package-tar-file-info):
8332 Use package--description-file.
8333 (package-compute-transaction): Use package--disabled-p.
8334 (package-download-transaction): Don't call
8335 package-maybe-load-descriptor since they're all loaded anyway.
8336 (package-install): Change argument to be a pkg-desc.
8337 (package-delete): Use a single pkg-desc argument.
8338 (describe-package-1): Use package-desc-dir instead of package--dir.
8339 Use package-desc property instead of package-symbol.
8340 (package-install-button-action): Adjust accordingly.
8341 (package--push): Rewrite.
8342 (package-menu--print-info): Adjust accordingly. Change the ID format
8343 to be a pkg-desc.
8344 (package-menu-describe-package, package-menu-get-status)
8345 (package-menu--find-upgrades, package-menu-mark-upgrades)
8346 (package-menu-execute, package-menu--name-predicate):
8347 Adjust accordingly.
8348 * startup.el (package--description-file): New function.
8349 (command-line): Use it.
8350 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8351 Use package-desc-version.
8352
0b31660d
SM
8353 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8354 (byte-compile-preprocess): Use it.
8355 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8356 can't quite recognize.
8357 (byte-compile-add-to-list): Remove.
8358 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8359 (cconv-closure-convert): Add assertion.
8360
8361 * emacs-lisp/map-ynp.el: Use lexical-binding.
8362 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8363 Factor out some repeated code.
8364
de0503df
SM
83652013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8366
8367 * subr.el (with-eval-after-load): New macro.
8368 (eval-after-load): Allow form to be a function.
8369 take advantage of lexical-binding.
8370 (do-after-load-evaluation): Use dolist and adjust to new format.
8371 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8372
bc5c8c5a
JL
83732013-06-13 Juri Linkov <juri@jurta.org>
8374
8375 * replace.el (perform-replace): Display "symbol " and other search
8376 modes from `isearch-message-prefix' in the *Help* buffer.
8377
8378 * isearch.el (isearch-query-replace): Add " symbol" and other
8379 possible search modes from `isearch-message-prefix' to the prompt.
8380 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8381 when reading a regexp to collect.
8382
a22289f7
JL
83832013-06-13 Juri Linkov <juri@jurta.org>
8384
8385 * isearch.el (word-search-regexp): Match whitespace if the search
8386 string begins or ends in whitespace. The LAX arg is applied to
8387 both ends of the search string. Use `regexp-quote' and explicit
8388 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8389 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8390 boundaries are replaced with symbol boundaries, and characters
8391 between symbols match non-word non-symbol syntax. (Bug#14602)
8392
cb89acab
JL
83932013-06-13 Juri Linkov <juri@jurta.org>
8394
8395 * isearch.el (isearch-del-char): Don't exceed the length of
8396 `isearch-string' by the prefix arg. (Bug#14563)
8397
6e8cfc81
JL
83982013-06-13 Juri Linkov <juri@jurta.org>
8399
8400 * isearch.el (isearch-yank-word, isearch-yank-line)
8401 (isearch-char-by-name, isearch-quote-char)
8402 (isearch-printing-char, isearch-process-search-char):
8403 Add optional count prefix arg. (Bug#14563)
8404
8405 * international/isearch-x.el
8406 (isearch-process-search-multibyte-characters):
8407 Add optional count prefix arg.
8408
c23d55f4
VS
84092013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8410
8411 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8412 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8413 lexical-binding.
8414
84152013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8416
8417 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8418
ba947bc4
GM
84192013-06-13 Glenn Morris <rgm@gnu.org>
8420
8baeb37a
GM
8421 * startup.el (tty-handle-args):
8422 Don't just discard "--" and anything after. (Bug#14608)
8423
ba947bc4
GM
8424 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8425
9abefce4
MA
84262013-06-13 Michael Albinus <michael.albinus@gmx.de>
8427
8428 Implement changes in Secret Service API. Make it backward compatible.
8429 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8430 (secrets-create-item): Use it. Prefix properties with interface.
8431
5755011f
MH
84322013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8433
8434 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8435 (term-emulate-terminal): Respect term-suppress-hard-newline.
8436
1261d2da
S
84372013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8438
8439 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8440 Only remove a `thumb-file' overlay. (Bug#14548)
8441
868490bb
GJ
84422013-06-12 Grégoire Jadi <daimrod@gmail.com>
8443
8444 * mail/reporter.el (reporter-submit-bug-report):
8445 Handle missing package-name. (Bug#14600)
8446
79d7167f
TH
84472013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8448
8449 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8450 (reftex-citation-prompt, reftex-default-bibliography)
8451 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8452 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8453 (reftex-bib-sort-author, reftex-bib-sort-year)
8454 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8455 (reftex-extract-bib-entries-from-thebibliography)
8456 (reftex-get-bibkey-default, reftex-get-bib-names)
8457 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8458 (reftex-format-bib-entry, reftex-parse-bibitem)
8459 (reftex-format-bibitem, reftex-do-citation)
8460 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8461 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8462 (reftex-insert-bib-matches, reftex-format-citation)
8463 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8464 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8465 existing comments into docstrings.
8466
5f9dbd7a
XF
84672013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8468
8469 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8470
94df41ab
AS
84712013-06-12 Andreas Schwab <schwab@suse.de>
8472
8473 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8474 for auto-save files.
8475
a7f3fecc
GM
84762013-06-12 Glenn Morris <rgm@gnu.org>
8477
001809f6
GM
8478 * ido.el (ido-delete-ignored-files): Remove.
8479 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8480 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8481
834b5ded
EL
84822013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8483
08c73ed2
EL
8484 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8485
834b5ded
EL
8486 * ido.el (ido-delete-ignored-files): New function,
8487 split from ido-make-file-list-1.
8488 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8489 (ido-make-file-list-1): Use ido-delete-ignored-files.
8490
daabf15a
LL
84912013-06-12 Leo Liu <sdl.web@gmail.com>
8492
8493 * progmodes/octave.el (inferior-octave-startup)
8494 (inferior-octave-completion-table)
8495 (inferior-octave-track-window-width-change)
8496 (octave-eldoc-function-signatures, octave-help)
8497 (octave-find-definition): Use single quoted strings.
8498 (inferior-octave-startup-args): Change default value.
8499 (inferior-octave-startup): Do not hard code "-i" and
8500 "--no-line-editing".
8501 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8502 (inferior-octave-directory-tracker): Use it.
8503 (octave-goto-function-definition): Robustify.
8504 (octave-help): Support highlighting operators in 'See also'.
8505 (octave-find-definition): Find subfunctions only in Octave mode.
8506
cf4e5178
SM
85072013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8508
8509 * help-fns.el (help-fns--compiler-macro): If the handler function is
8510 named, then put a link to it.
8511 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8512 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8513 (cl-typep): Use it.
8514 (cl-eval-when): Simplify debug spec.
8515 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8516 compiler-macro function instead of setting `compiler-macro-file'.
8517
99c81280 85182013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8519
8520 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8521 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8522
f56be016
SM
85232013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8524 Daniel Hackney <dan@haxney.org>
8525
8526 First part of Daniel Hackney's patch to package.el.
8527 * emacs-lisp/package.el: Use defstruct.
8528 (package-desc): New, main struct.
8529 (package--bi-desc, package--ac-desc): New structs, used to describe the
8530 format in external files.
8531 (package-desc-vers): Replace with package-desc-version accessor.
8532 (package-desc-doc): Replace with package-desc-summary accessor.
8533 (package-activate-1): Remove `package' arg since the pkg-vec now
8534 includes the name.
8535 (define-package): Use package-desc-from-define.
8536 (package-unpack-single): Change file-name arg to be a symbol.
8537 (package--add-to-archive-contents): Use package-desc-create and new
8538 accessor functions to package--ac-desc.
8539 (package-buffer-info, package-tar-file-info): Return a package-desc.
8540 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8541 arg to be a package-desc.
8542 (package-install-file): Adjust accordingly. Use \' to match EOS.
8543 (package--from-builtin): New function.
8544 (describe-package-1, package-menu--generate): Use it.
8545 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8546 (package-generate-autoloads): Idem and return the name of the file.
8547 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8548 Change pkg-info arg to be a package-desc.
8549 Use package-make-ac-desc.
8550 (package-upload-file): Use \' to match EOS.
8551 * finder.el (finder-compile-keywords): Use package-make-builtin.
8552
31119d63
SM
85532013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8554
931a2762
SM
8555 * vc/vc.el (vc-deduce-fileset): Change error message.
8556 (vc-read-backend): New function.
8557 (vc-next-action): Use it.
8558
5a3eb0c6
SM
8559 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8560
e3eb1bb7
SM
8561 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8562 (prolog-font-lock-keywords): Use regexp-opt instead.
8563 Don't manually highlight strings.
8564 (prolog-mode-variables): Simplify comment-start-skip.
8565 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8566
31119d63
SM
8567 * emacs-lisp/generic.el (generic--normalise-comments)
8568 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8569 (generic-mode-set-comments): Use them.
8570 (generic-bracket-support): Use setq-local.
8571 (generic-make-keywords-list): Declare obsolete.
8572
7de135d0
GM
85732013-06-11 Glenn Morris <rgm@gnu.org>
8574
8575 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8576 Prettify after setting font-lock-defaults. (Bug#14574)
8577
fa6bc6fd
JB
85782013-06-11 Juanma Barranquero <lekktu@gmail.com>
8579
8580 * replace.el (query-replace, occur-read-regexp-defaults-function)
8581 (replace-search):
8582 * subr.el (declare-function, number-sequence, local-set-key)
8583 (substitute-key-definition, locate-user-emacs-file)
8584 (with-silent-modifications, split-string, eval-after-load):
8585 Fix typos, remove unneeded backslashes and reflow some docstrings.
8586
cf1f9b9a
SM
85872013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8588
8589 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8590 default for Elisp files.
8591
56602a4b
GM
85922013-06-11 Glenn Morris <rgm@gnu.org>
8593
8594 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8595 although define-derived-mode was doing this anyway. (Bug#14583)
8596
30ae0b2c
JB
85972013-06-10 Juanma Barranquero <lekktu@gmail.com>
8598
8599 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8600 Fix make-variable-buffer-local call to refer to the correct variable.
8601
fa472906
AG
86022013-06-10 Aidan Gauland <aidalgol@amuri.net>
8603
8604 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
8605 (eshell-visual-subcommands, eshell-visual-options):
8606 Add summary line to docstrings. Add cross-references.
fa472906 8607
ff4871b9
GM
86082013-06-10 Glenn Morris <rgm@gnu.org>
8609
8610 * epa.el (epa-read-file-name): New function. (Bug#14510)
8611 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8612
04fcf1b0
AG
86132013-06-09 Aidan Gauland <aidalgol@amuri.net>
8614
8615 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8616 output redirection to be ignored with visual commands.
8617
88b00caa
AG
86182013-06-09 Aidan Gauland <aidalgol@amuri.net>
8619
8620 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
8621 (eshell-term-initialize): Move long lambda to separate function
8622 eshell-visual-command-p.
e7b41c4c
JB
8623 * eshell/em-dirs.el (eshell-dirs-initialise):
8624 * eshell/em-script.el (eshell-script-initialize):
8625 Add missing #' to lambda.
88b00caa 8626
fda74125
LL
86272013-06-08 Leo Liu <sdl.web@gmail.com>
8628
8629 * progmodes/octave.el (octave-add-log-current-defun): New function.
8630 (octave-mode): Set add-log-current-defun-function.
8631 (octave-goto-function-definition): Do not move point if not found.
8632 (octave-find-definition): Enhance to try subfunctions first.
8633
467f3b33
GM
86342013-06-08 Glenn Morris <rgm@gnu.org>
8635
8636 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8637 (byte-compile-backward-char, byte-compile-backward-word):
8638 Improve previous change, to handle non-explicit nil.
8639
544badc3
SM
86402013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8641
8642 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8643 (smie--opener/closer-at-point): New function.
8644 (smie--matching-block-data): Use it. Don't match from right after an
8645 opener or right before a closer. Obey smie-blink-matching-inners.
8646 Don't signal a mismatch for repeated inners like "switch..case..case".
8647
a175bf33
LL
86482013-06-07 Leo Liu <sdl.web@gmail.com>
8649
8650 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8651 to t. (Bug#14303)
ce8209d4
LL
8652 (octave-function-header-regexp): Fix. (Bug#14570)
8653 (octave-help-mode-finish-hook, octave-help-mode-finish):
8654 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
8655
8656 * newcomment.el (comment-search-backward): Revert last change.
8657 (Bug#14434)
8658
8659 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8660
a822acff
EZ
86612013-06-07 Eli Zaretskii <eliz@gnu.org>
8662
8663 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8664 through xargs, to avoid failure due to MS-Windows limitations on
8665 command-line length.
8666
961166f5
GM
86672013-06-06 Glenn Morris <rgm@gnu.org>
8668
d0341459
GM
8669 * font-lock.el (lisp-font-lock-keywords-2):
8670 Treat user-error like error.
8671
961166f5
GM
8672 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8673 (byte-compile-backward-char, byte-compile-backward-word):
8674 Handle explicit nil arguments. (Bug#14565)
8675
80fa505f
AM
86762013-06-05 Alan Mackenzie <acm@muc.de>
8677
8678 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 8679 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 8680 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 8681 (Bug#9706)
80fa505f 8682
fccdc796
SM
86832013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8684
8685 * autorevert.el (auto-revert-notify-handler): Use memq.
8686 Hide assertion failure.
8687
8688 * skeleton.el: Use cl-lib.
8689 (skeleton-further-elements): Use defvar-local.
8690 (skeleton-insert): Use cl-progv.
8691
9bfff84b
TZ
86922013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8693
8694 * progmodes/prog-mode.el (prog-prettify-symbols)
8695 (prog-prettify-install): Update docstrings.
8696
55577e7c
SM
86972013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8698
8699 * simple.el: Move all the prog-mode code to prog-mode.el.
8700 * progmodes/prog-mode.el: New file.
8701 * loadup.el: Add prog-mode.el.
8702
8fc57765
TZ
87032013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8704
8705 * simple.el (prog-prettify-symbols): Add version.
8706 (prog-prettify-install): Add convenience function to prettify symbols.
8707
8708 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8709 (perl--augmented-font-lock-keywords-1)
8710 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8711 variables and use it.
8712
8713 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8714 (cfengine3-mode): Remove unneeded variable and use it.
8715
8716 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8717 (lisp--augmented-font-lock-keywords-1)
8718 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8719 Remove unneeded variables and use it.
8720
650645d5 87212013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8722
8723 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8724 to point when opening the connection. (Bug#14380)
28f5da6d 8725
781b4af6
SM
87262013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8727
8728 * subr.el (load-history-regexp, load-history-filename-element)
8729 (eval-after-load, after-load-functions, do-after-load-evaluation)
8730 (eval-next-after-load, display-delayed-warnings)
8731 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8732 definition of save-match-data.
8733 (overriding-local-map): Remove accidental obsolescence declaration.
8734
8735 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8736
3ca0d0b4
TZ
87372013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8738
8739 Generalize symbol prettify support to prog-mode and implement it
8740 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8741 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8742 (prog--prettify-font-lock-compose-symbol)
8743 (prog-prettify-font-lock-symbols-keywords): New variables and
8744 functions to support symbol prettification.
8745 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8746 (lisp--augmented-font-lock-keywords-1)
8747 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8748 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8749 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8750 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8751 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8752 * progmodes/perl-mode.el (perl-prettify-symbols)
8753 (perl--font-lock-compose-symbol)
8754 (perl--font-lock-symbols-keywords): Move to prog-mode.
8755 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8756 (perl-font-lock-keywords-1)
8757 (perl-font-lock-keywords-2): Remove explicit prettify support.
8758 (perl--augmented-font-lock-keywords)
8759 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8760 (perl--augmented-font-lock-keywords-2, perl-mode):
8761 Implement prettify support.
3ca0d0b4 8762
976cb066
LL
87632013-06-05 Leo Liu <sdl.web@gmail.com>
8764
8765 Re-implement smie matching block highlight using
8766 show-paren-data-function. (Bug#14395)
8767 * emacs-lisp/smie.el (smie-matching-block-highlight)
8768 (smie--highlight-matching-block-overlay)
8769 (smie--highlight-matching-block-lastpos)
8770 (smie-highlight-matching-block)
8771 (smie-highlight-matching-block-mode): Remove.
8772 (smie--matching-block-data-cache): New variable.
8773 (smie--matching-block-data): New function.
8774 (smie-setup): Use smie--matching-block-data for
8775 show-paren-data-function.
8776
8777 * progmodes/octave.el (octave-mode-menu): Fix.
8778 (octave-find-definition): Skip garbage lines.
8779
208d0342
SM
87802013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8781
8782 Fix compilation error with simultaneous dynamic+lexical scoping.
8783 Add warning when a defvar appears after the first let-binding.
8784 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8785 (byte-compile-close-variables): Initialize it.
8786 (byte-compile--declare-var): New function.
8787 (byte-compile-file-form-defvar)
8788 (byte-compile-file-form-define-abbrev-table)
8789 (byte-compile-file-form-custom-declare-variable): Use it.
8790 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8791 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8792 (byte-compile-bind): Handle dynamic bindings that shadow
8793 lexical bindings.
8794 (byte-compile-unbind): Make arg non-optional.
8795 (byte-compile-let): Simplify.
8796 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8797 (cconv--analyse-function, cconv-analyse-form): Populate it.
8798 Protect byte-compile-bound-variables to limit the scope of defvars.
8799 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8800 Remove unneeded rule for `declare'.
8801
8802 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8803 so as to avoid depending on cl-adjoin at run-time.
8804 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8805
8806 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8807 (macroexp--warn-and-return): Use it.
8808
1ac2891e
GM
88092013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8810
8811 * lisp/subr.el: Convert to lexical binding.
8812 (overriding-local-map): Make obsolete.
8813 (add-to-list): Doc fix. Add compiler macro.
8814 (read-key): Swap values of local maps.
8815
2587b005
LL
88162013-06-05 Leo Liu <sdl.web@gmail.com>
8817
8818 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8819
f1da3c88
LL
88202013-06-04 Leo Liu <sdl.web@gmail.com>
8821
8822 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8823 (compilation-auto-jump): Suppress the "Mark set" message to give
8824 way to exit message.
8825
3caa391f
AM
88262013-06-04 Alan Mackenzie <acm@muc.de>
8827
8828 Remove faulty optimisation from indentation calculation.
8829 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8830 search limit based on 2000 characters back from indent-point.
8831
068922a2
TH
88322013-06-03 Tassilo Horn <tsdh@gnu.org>
8833
8834 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8835
1f8fdd53
SM
88362013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8837
bbcc4d97
SM
8838 * emacs-lisp/lisp.el: Use lexical-binding.
8839 (lisp--local-variables-1, lisp--local-variables): New functions.
8840 (lisp--local-variables-completion-table): New var.
208d0342 8841 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8842
1f8fdd53
SM
8843 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8844 eagerly (bug#14422).
8845
c9628c79
MA
88462013-06-03 Michael Albinus <michael.albinus@gmx.de>
8847
8848 * autorevert.el (auto-revert-notify-enabled)
8849 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8850 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8851 (auto-revert-notify-handler): Handle also gfilenotify.
8852
e7b41c4c 8853 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8854 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8855 Remove.
c9628c79 8856
e5e4a942
JL
88572013-06-03 Juri Linkov <juri@jurta.org>
8858
8859 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8860 `M-s h .'. (Bug#14427)
8861
8862 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8863 command `hi-lock-face-symbol-at-point'.
8864 (hi-lock-face-symbol-at-point): New command.
8865 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8866 (hi-lock-menu): Add `highlight-symbol-at-point'.
8867 (hi-lock-mode): Doc fix.
8868
8869 * isearch.el (isearch-forward-symbol-at-point): New command.
8870 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8871 (isearch-highlight-regexp): Add a regexp which matches
8872 words/symbols for word/symbol mode.
8873
8874 * subr.el (find-tag-default-bounds): New function with the body
8875 mostly moved from `find-tag-default'.
8876 (find-tag-default): Move most code to `find-tag-default-bounds',
8877 call it and apply `buffer-substring-no-properties' afterwards.
8878
26b3353a
TH
88792013-06-03 Tassilo Horn <tsdh@gnu.org>
8880
781b4af6
SM
8881 * eshell/em-term.el (eshell-term-initialize):
8882 Use `cl-intersection' rather than `intersection'.
26b3353a 8883
51b60f53
XF
88842013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8885
fe054b63 8886 * vc/log-view.el: Doc fix.
d3ffe17c 8887 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8888
a0eb10b3 88892013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8890
8891 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8892 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8893 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8894 (eieio-unbound, eieio-default-superclass)
8895 (eieio--define-field-accessors, method-static, method-before)
8896 (method-primary, method-after, method-num-lists)
8897 (method-generic-before, method-generic-primary)
8898 (method-generic-after, method-num-slots)
8899 (eieio-specialized-key-to-generic-key)
8900 (eieio--check-type, class-v, class-p)
8901 (eieio-class-name, define-obsolete-function-alias)
8902 (eieio-class-parents-fast, eieio-class-children-fast)
8903 (same-class-fast-p, class-constructor, generic-p)
8904 (generic-primary-only-p, generic-primary-only-one-p)
8905 (class-option-assoc, class-option, eieio-object-p)
8906 (class-abstract-p, class-method-invocation-order)
8907 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8908 (eieio-class-un-autoload, eieio-defclass)
8909 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8910 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8911 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8912 (eieio-defgeneric-reset-generic-form)
8913 (eieio-defgeneric-form-primary-only)
8914 (eieio-defgeneric-reset-generic-form-primary-only)
8915 (eieio-defgeneric-form-primary-only-one)
8916 (eieio-defgeneric-reset-generic-form-primary-only-one)
8917 (eieio-unbind-method-implementations)
8918 (eieio--defmethod, eieio--typep)
8919 (eieio-perform-slot-validation, eieio-validate-slot-value)
8920 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8921 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8922 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8923 (eieio-slot-name-index, eieio-class-slot-name-index)
8924 (eieio-set-defaults, eieio-initarg-to-attribute)
8925 (eieio-attribute-to-initarg, eieio-c3-candidate)
8926 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8927 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8928 (eieio-class-precedence-list, eieio-generic-call-methodname)
8929 (eieio-generic-call-arglst, eieio-generic-call-key)
8930 (eieio-generic-call-next-method-list)
8931 (eieio-pre-method-execution-functions, eieio-generic-call)
8932 (eieio-generic-call-primary-only, eieiomt-method-list)
8933 (eieiomt-optimizing-obarray, eieiomt-install)
8934 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8935 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 8936 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
8937 (defclass): Remove `eval-and-compile' from macro.
8938 (call-next-method, shared-initialize): Instead of using
8939 `scoped-class' variable, use new eieio--scoped-class, and
8940 eieio--with-scoped-class.
8941 (initialize-instance): Rename local variable 'scoped-class' to
8942 'this-class' to remove ambiguitity from old global.
8943
8944 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8945 eieio.el.
4f405069
JB
8946 (eieio--scoped-class-stack): New variable.
8947 (eieio--scoped-class): New fcn.
890f7890
DE
8948 (eieio--with-scoped-class): New scoping macro.
8949 (eieio-defclass): Use pushnew instead of add-to-list.
8950 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8951 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8952 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8953 `scoped-class' variable, use new eieio--scoped-class, and
8954 eieio--with-scoped-class.
8955
8956 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8957
d105b0e2
TH
89582013-06-02 Tassilo Horn <tsdh@gnu.org>
8959
8960 * eshell/esh-ext.el (eshell-external-command): Pass args to
8961 `eshell-find-interpreter'.
8962 (eshell-find-interpreter): Add new second parameter ARGS.
8963
8964 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 8965 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8966
8967 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 8968 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8969
8970 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8971 (eshell-visual-options): New defcustom.
8972 (eshell-escape-control-x): Adapt docstring.
8973 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8974 `eshell-visual-options' in addition to `eshell-visual-commands'.
8975 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8976
f46305c8 89772013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8978
8979 * progmodes/python.el (python-indent-block-enders): Add break,
8980 continue and raise keywords.
8981
d870df21
GM
89822013-06-01 Glenn Morris <rgm@gnu.org>
8983
9133b82e
GM
8984 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8985
02c992ec 8986 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
8987 * progmodes/cc-cmds.el (delete-forward-p):
8988 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8989 * progmodes/cc-engine.el (buffer-syntactic-context):
8990 * progmodes/cc-fonts.el (face-property-instance):
8991 * progmodes/cc-mode.el (set-keymap-parents):
8992 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8993 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8994 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
8995 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8996 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 8997
31e7b090
GM
8998 * progmodes/cc-vars.el (other): Emacs has this widget since
8999 at least 21.1, so don't (re)define it.
9000
d870df21
GM
9001 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9002 Replace the obsolete alias pcomplete-arg-quote-list.
9003
c75c93c7
LL
90042013-06-01 Leo Liu <sdl.web@gmail.com>
9005
9006 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9007 punctuation syntax.
9008 (inferior-octave-minimal-columns)
9009 (inferior-octave-last-column-width): New variables.
9010 (inferior-octave-track-window-width-change): New function.
9011 (inferior-octave-mode): Adjust column width so that Octave output,
9012 for example from 'ls', can fit into the window nicely.
9013
973d1e12
DG
90142013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9015
9016 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9017 Highlight expansions inside regexp literals.
9018
0888c286
GM
90192013-05-31 Glenn Morris <rgm@gnu.org>
9020
e26aac1f
GM
9021 * obsolete/sym-comp.el (symbol-complete):
9022 Replace obsolete completion-annotate-function.
9023
0888c286
GM
9024 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9025
19bb8e62
DG
90262013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9027
781b4af6
SM
9028 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9029 New function, checks if point is inside a literal that allows
19bb8e62
DG
9030 expression expansion.
9031 (ruby-syntax-propertize-expansion): Use it.
9032 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9033 around the body.
9034
01dea85f
JL
90352013-05-30 Juri Linkov <juri@jurta.org>
9036
9037 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9038 to "\M-si".
9039 (isearch-invisible): New variable.
9040 (isearch-forward): Doc fix.
9041 (isearch-mode): Set `isearch-invisible'
9042 to the value of `search-invisible'.
9043 (isearch-toggle-case-fold): Doc fix.
9044 (isearch-toggle-invisible): New command.
9045 (isearch-query-replace): Let-bind `search-invisible'
9046 to the value of `isearch-invisible'.
9047 (isearch-search): Use `isearch-invisible' instead of
9048 `search-invisible'. Let-bind `search-invisible'
9049 to the value of `isearch-invisible'. (Bug#11378)
9050
ab1bdce5
JL
90512013-05-30 Juri Linkov <juri@jurta.org>
9052
9053 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9054 call when `query-flag' is nil and `search-invisible' is non-nil.
9055 (Bug#11746)
9056
d6d236e2
GM
90572013-05-30 Glenn Morris <rgm@gnu.org>
9058
8accd027
GM
9059 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9060
2a8bed1c
GM
9061 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9062 (cc-require): Suppress spurious "noruntime" warnings.
9063 (cc-require-when-compile): Use fboundp, for sake of compiler.
9064
d6d236e2
GM
9065 * progmodes/cc-mode.el: Move load of cc-vars before that of
9066 cc-langs (which in turn loads cc-vars), to quieten compiler.
9067
9190b35b
SM
90682013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9069
9070 * paren.el: Simplify the code.
9071 (show-paren-mode): Always start the timer.
9072 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9073 (show-paren--overlay, show-paren--overlay-1): Rename from
9074 show-paren-overlay and show-paren-overlay-1, and initialize to an
9075 overlay rather than to nil.
9076 (show-paren-function): Misc cleanup and simplifications.
9077
4f8d1cf6
SM
90782013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9079
9080 * paren.el (show-paren-data-function): New hook.
9081 (show-paren--default): New function, extracted from show-paren-function.
9082 (show-paren-function): Use show-paren-data-function.
9083
02d844b5
GM
90842013-05-30 Glenn Morris <rgm@gnu.org>
9085
d209d4a9
GM
9086 * ielm.el (ielm-map, ielm-complete-symbol):
9087 Use completion-at-point rather than obsolete functions.
9088 (inferior-emacs-lisp-mode): Doc fix.
9089 Set completion-at-point-functions, rather than
9090 comint-dynamic-complete-functions.
9091
2082faa6
GM
9092 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9093 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9094 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9095
dd8620de
GM
9096 * image.el (image-animated-p): Tweak definition.
9097
ceca95b1
GM
9098 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9099 (rlogin-process-connection-type): Tweak default. Add set-after.
9100 (rlogin-host): Doc fix.
9101 (rlogin): Tweak prompt.
9102 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9103
ee9f1acc
GM
9104 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9105 * progmodes/tcl.el (inferior-tcl-mode-map):
9106 Use completion-at-point rather than obsolete alias.
9107
45ce222e
GM
9108 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9109
02d844b5
GM
9110 * minibuffer.el (read-file-name-completion-ignore-case):
9111 Move before completion--in-region, for eager macro expansion.
9112
ac44d6c1
JL
91132013-05-29 Juri Linkov <juri@jurta.org>
9114
9115 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9116 for total count of matching lines. Add `global-matches' for total
9117 count of matches. Rename `matches' to `lines' for count of
9118 matching lines. Add `matches' for count of matches.
9119 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9120 to `prev-line' for line number of prev match endpt.
9121 Increment `matches' for every match. Print the number of
9122 matching lines in the header.
9123 (occur-context-lines): Rename `lines' to `curr-line'.
9124 Rename `prev-lines' to `prev-line'. (Bug#14017)
9125
3c9c9d38
JL
91262013-05-29 Juri Linkov <juri@jurta.org>
9127
9128 * replace.el (perform-replace): Add `skip-read-only-count',
9129 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9130 Increment them for corresponding conditions and report the number
9131 of skipped occurrences in the final message. (Bug#11746)
9132 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9133 (replace-string, replace-regexp): Doc fix.
9134
33e249a2
SM
91352013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9136
8e399682
SM
9137 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9138
33e249a2 9139 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 9140 prog-mode-map (bug#14504).
33e249a2 9141
f236dd84
LL
91422013-05-29 Leo Liu <sdl.web@gmail.com>
9143
9144 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9145 (octave-help): Small simplification.
9146
9147 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9148 off the highlight first.
9149
3694d13f
GM
91502013-05-29 Glenn Morris <rgm@gnu.org>
9151
03983bdc
GM
9152 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9153 Handle idlwave-last-system-routine-info-cons-cell being nil.
9154
bc74a74a
GM
9155 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9156 (idlwave-write-paths): Simplify via with-temp-buffer.
9157
8b394200
GM
9158 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9159 * emulation/cua-rect.el: Also load cua-base at run time.
9160
3694d13f
GM
9161 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9162 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9163 (cperl-imenu-on-info): Require imenu.
9164
336d7284
AM
91652013-05-28 Alan Mackenzie <acm@muc.de>
9166
9167 Handle "capitalised keywords" correctly.
33e249a2 9168 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 9169
cb29c582
AG
91702013-05-28 Aidan Gauland <aidalgol@amuri.net>
9171
781b4af6 9172 * eshell/em-unix.el: Add -r option to cp.
cb29c582 9173
690e44b2
GM
91742013-05-28 Glenn Morris <rgm@gnu.org>
9175
e658d75c
GM
9176 * vc/vc-arch.el (vc-exec-after): Declare.
9177 (vc-switches): Autoload.
9178 * vc/vc-bzr.el: No need to require vc when compiling.
9179 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9180 (vc-resynch-buffer, vc-dir-refresh): Declare.
9181 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
9182 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9183 (vc-resynch-buffer): Declare.
9184 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 9185 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
9186 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9187 (grep-read-regexp, grep-read-files, grep-expand-template)
9188 (vc-dir-refresh): Declare.
9189 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9190 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9191 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
9192 * vc/vc-mtn.el (vc-exec-after): Declare.
9193 (vc-switches): Autoload.
9194 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9195 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9196 (vc-file-tree-walk): Declare.
712b9732
GM
9197 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9198 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9199 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
9200 * vc/vc-svn.el (vc-exec-after): Declare.
9201 (vc-switches, vc-setup-buffer): Autoload.
9202 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9203 Autoload.
9204 (vc-resynch-buffer): Declare.
9205
98e87fb3
GM
9206 * obsolete/fast-lock.el (byte-compile-warnings):
9207 Don't warn about obsolete features in this obsolete file.
9208
f5379553
GM
9209 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9210 Move definition before use.
9211
7a20ef83
GM
9212 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9213 (dun-unix-verbs): Remove dun-zippy.
9214 (dun-zippy): Remove function.
9215
690e44b2
GM
9216 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9217
3a52ccf7
JL
92182013-05-27 Juri Linkov <juri@jurta.org>
9219
9220 * replace.el (replace-search): New function with code moved out
9221 from `perform-replace'.
9222 (replace-highlight, replace-dehighlight): Move function definitions
9223 up closer to `replace-search'. (Bug#11746)
9224
d289938a
JL
92252013-05-27 Juri Linkov <juri@jurta.org>
9226
9227 * replace.el (perform-replace): Ignore invisible matches.
9228 In addition to checking `query-replace-skip-read-only', also
9229 filter out matches by calling `run-hook-with-args-until-failure'
9230 on `isearch-filter-predicates', and also check `search-invisible'
9231 for t or call `isearch-range-invisible'.
9232 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9233
66fc57e3
JL
92342013-05-27 Juri Linkov <juri@jurta.org>
9235
9236 * isearch.el (isearch-filter-predicates): Rename from
9237 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9238 (isearch-message-prefix): Display text from the property
9239 `isearch-message-prefix' of the currently active filters.
9240 (isearch-search): Don't compare `isearch-filter-predicate' with
9241 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9242 on `isearch-filter-predicates'. Also check `search-invisible' for t
9243 or call `isearch-range-invisible'.
9244 (isearch-filter-visible): Make obsolete.
9245 (isearch-lazy-highlight-search):
9246 Call `run-hook-with-args-until-failure' on
9247 `isearch-filter-predicates' and use `isearch-range-invisible'.
9248
9249 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9250 `isearch-filter-predicates' instead of `funcall'ing
9251 `isearch-filter-predicate'.
9252 (Info-mode): Set `Info-isearch-filter' to
9253 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9254
9255 * dired-aux.el (dired-isearch-filter-predicate-orig):
9256 Remove variable.
9257 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9258 (dired-isearch-filenames-end): Add and remove
9259 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9260 instead of changing the value of `isearch-filter-predicate'.
9261 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9262 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9263 Put property `isearch-message-prefix' to "filename " on
9264 `dired-isearch-filter-filenames'.
9265
9266 * wdired.el (wdired-change-to-wdired-mode):
9267 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9268 locally instead of changing `isearch-filter-predicate'.
9269 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9270
f1a60a0f
DG
92712013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9272
9273 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9274 return the commit hash (Bug#14459). Also set the
9275 `vc-git-detached' property.
9276 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9277 (vc-git-mode-line-string): Use the same help-echo format whether
9278 in detached mode or not, because we know the actual revision now.
9279 When in detached mode, shorten the revision to 7 chars.
9280
7f17cc40
SM
92812013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9282
9283 * emacs-lisp/easy-mmode.el (define-minor-mode):
9284 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9285 mode hook and provide a docstring.
9286
25c8401c
AM
92872013-05-27 Alan Mackenzie <acm@muc.de>
9288
9289 Remove spurious syntax-table text properties inserted by C-y.
9290 * progmodes/cc-mode.el (c-after-change): Also clear hard
9291 syntax-table property with value nil.
9292
dde84790
MA
92932013-05-27 Michael Albinus <michael.albinus@gmx.de>
9294
9295 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9296 when reading the events; the buffer layout shall not be changed.
9297
837fd9af
LL
92982013-05-27 Leo Liu <sdl.web@gmail.com>
9299
9300 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9301 New variable.
9302 (inferior-octave-directory-tracker): Automatically re-sync
9303 default-directory.
9304 (octave-help): Improve handling of 'See also'.
9305
4fd996b3
SM
93062013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9307
416f1802
SM
9308 * doc-view.el: Minor naming convention tweaks.
9309 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9310
4fd996b3
SM
9311 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9312 even if there's no `display' property yet (bug#14435).
9313
a052ef3b
EZ
93142013-05-25 Eli Zaretskii <eliz@gnu.org>
9315
4fd996b3 9316 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9317
9318 * Makefile.in (custom-deps, finder-data, autoloads)
9319 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9320 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9321 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9322
c9023370
SM
93232013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9324
9325 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9326 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9327 Don't burp at EOB.
c9023370 9328
24d699fa
LL
93292013-05-25 Leo Liu <sdl.web@gmail.com>
9330
9331 * comint.el (comint-previous-matching-input): Do not flood the
9332 *Messages* buffer with trivial messages.
9333
17e5c0cc
SM
93342013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9335
9336 * progmodes/flymake.el (flymake-nop): Don't return a string.
9337 (flymake-set-at): Fix typo.
9338
9339 * simple.el (read--expression): New function, extracted from
9340 eval-expression. Set completion-at-point-functions (bug#14465).
9341 (eval-expression, eval-minibuffer): Use it.
9342
5d028165
XF
93432013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9344
9345 * progmodes/flymake.el (flymake-save-buffer-in-file)
9346 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9347 (flymake-selected-frame, flymake-log, flymake-ins-after)
9348 (flymake-set-at, flymake-get-buildfile-from-cache)
9349 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9350 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9351 Refine the doc string.
9352 (flymake-get-file-name-mode-and-masks): Reformat.
9353 (flymake-get-real-file-name-function): Fix a minor bug.
9354
7a1d7ba7
JL
93552013-05-24 Juri Linkov <juri@jurta.org>
9356
9357 * progmodes/grep.el (grep-mode-font-lock-keywords):
9358 Support =linenumber= format used by git-grep for lines with
9359 function names. (Bug#13549)
9360
650cff3d
SM
93612013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9362
9363 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9364 0 after a semi-colon; it works better for smie-auto-fill.
9365 (octave--indent-new-comment-line): New function.
9366 (octave-indent-new-comment-line): Use it (indirectly).
9367 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9368 modify comment-line-break-function.
9369
9370 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9371 (smie-setup): Use add-function to set it.
9372
9631677d
SS
93732013-05-24 Sam Steingold <sds@gnu.org>
9374
9375 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9376 argument (before the `interactive' argument).
9377
50105835
SM
93782013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9379
9380 * image-mode.el (image-mode-winprops): Add winprops to
9381 image-mode-winprops-alist before running
9382 image-mode-new-window-functions.
9383 * doc-view.el (doc-view-new-window-function): Don't delay
9384 doc-view-goto-page via timers (bug#14435).
9385
57b9823e
TH
93862013-05-24 Tassilo Horn <tsdh@gnu.org>
9387
9388 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9389 (doc-view-desktop-save-buffer): New function.
9390 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9391 (desktop-buffer-mode-handlers):
9392 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9393 handler.
9394 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9395 `desktop-save-buffer' function.
9396
91aafa16
MA
93972013-05-24 Michael Albinus <michael.albinus@gmx.de>
9398
9399 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9400 (tramp-gvfs-file-name-handler): Raise a user error when
9401 `tramp-gvfs-enabled' is nil.
9402 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9403 Do not raise a user error when loading package. (Bug#14447)
9404
ec076379
MA
9405 * net/xesam.el: Move to obsolete/.
9406
db785726
GM
94072013-05-24 Glenn Morris <rgm@gnu.org>
9408
af5c7606
GM
9409 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9410
e5d1916a
GM
9411 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9412
ded62b08
GM
9413 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9414 (Info-find-node, Man-getpage-in-background): Declare.
9415
9e614a3f
GM
9416 * mail/unrmail.el (unrmail):
9417 Replace obsolete detect-coding-with-priority.
9418
892f8ca3
GM
9419 * net/socks.el (socks-split-string): Use this rather than split-string.
9420 (socks-nslookup-host): Update for above change.
9421 (dynamic-choice, s5-dynamic-choice-match)
9422 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9423 Comment out unused code.
9424
3c291973
GM
9425 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9426 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9427 (gud-tooltip-echo-area): Make obsolete.
9428 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9429
43cc956b
GM
9430 * progmodes/js.el (js--optimize-arglist): Declare.
9431
dab49a3b
GM
9432 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9433
36b9d085
GM
9434 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9435 (ediff-window-C): Declare.
9436
e354ae76
GM
9437 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9438 Tweak requires to silence compiler.
9439
b8e57bf4
GM
9440 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9441 (he-search-string, he-tried-table, he-expand-list)
9442 (he-init-string, he-string-member, he-substitute-string)
9443 (he-reset-string): Declare.
9444
db785726
GM
9445 * obsolete/options.el (list-options): Use custom-variable-p,
9446 rather than obsolete alias.
9447
b3531901
SS
94482013-05-23 Sam Steingold <sds@gnu.org>
9449
9450 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 9451 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
9452 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9453
bdda4c66
SM
94542013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9455
9456 * emacs-lisp/smie.el (smie-indent-forward-token)
9457 (smie-indent-backward-token): Handle string tokens (bug#14381).
9458
c43d45f9
TH
94592013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9460
fe1eb856
RS
9461 * ielm.el (ielm-menu): New menu.
9462 (inferior-emacs-lisp-mode): Set comment-start.
96172128 9463
fe1eb856
RS
94642013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9465
9466 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9467 Fix deactivate action.
9468
9469 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9470 Add cleveref macros.
074dd971 9471
c43d45f9
TH
9472 * lisp/textmodes/reftex-parse.el
9473 (reftex-locate-bibliography-files): Accept options for
9474 bibliography commands.
9475 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9476 Add addbibresource. Basic Biblatex support.
9477
7764286e
MA
94782013-05-23 Michael Albinus <michael.albinus@gmx.de>
9479
9480 * net/tramp-gvfs.el (top):
9481 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9482 when loading package. (Bug#14447)
9483
d361bc10
GM
94842013-05-23 Glenn Morris <rgm@gnu.org>
9485
8fa23984
GM
9486 * progmodes/js.el: No need to load comint when compiling.
9487 (ring-insert, comint-send-string, comint-send-input)
9488 (comint-last-input-end, ido-chop): Declare.
9489
a5c7df1a
GM
9490 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9491 * vc/ediff-mult.el: Adjust requires.
9492 (ediff-directories-internal, ediff-directory-revisions-internal)
9493 (ediff-patch-file-internal): Declare.
9494 * vc/ediff-ptch.el: Adjust requires.
9495 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9496 (ediff-find-file): Autoload.
9497 * vc/ediff-util.el: No need to load ediff when compiling.
9498 (ediff-regions-internal): Declare.
9499 * vc/ediff-wind.el: Adjust requires.
9500 (ediff-compute-toolbar-width): Define when compiling.
9501 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9502 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9503 (dired-get-filename, dired-get-marked-files)
9504 (ediff-last-dir-patch, ediff-patch-default-directory)
9505 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9506 (ediff-patch-buffer-internal): Declare.
9507
e2aec513
GM
9508 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9509 (ispell-process, ispell-buffer-local-words, lm-summary)
9510 (lm-section-start, lm-section-end): Declare.
9511 (checkdoc-ispell-init): Simplify.
9512
e68bbd7c
GM
9513 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9514 (he-string-member, he-reset-string, he-substitute-string): Declare.
9515
7efe0991
GM
9516 * eshell/em-ls.el: Adjust requires.
9517 (eshell-glob-regexp): Declare.
f87b1284
GM
9518 * eshell/em-tramp.el: Adjust requires.
9519 (eshell-parse-command): Autoload.
9520 * eshell/em-xtra.el: Adjust requires.
9521 (eshell-parse-command): Autoload.
9522 * eshell/esh-ext.el: Adjust requires.
9523 (eshell-parse-command, eshell-close-handles): Autoload.
9524 * eshell/esh-io.el: Adjust requires.
9525 (eshell-output-filter): Autoload.
9526 * eshell/esh-util.el: No need to load tramp when compiling.
9527 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9528 Declare.
9529 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9530 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9531 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9532 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9533 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9534 * eshell/esh-opt.el, eshell/esh-proc.el:
9535 * eshell/esh-var.el: Adjust requires.
9536 * eshell/eshell.el: Do not require esh-util twice.
9537 (eshell-add-input-to-history): Declare.
9538 (eshell-command): Check history module is active before using it.
9539
d361bc10
GM
9540 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9541
85d090a9
LL
95422013-05-22 Leo Liu <sdl.web@gmail.com>
9543
9544 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9545
5d0acd9d
MA
95462013-05-22 Michael Albinus <michael.albinus@gmx.de>
9547
9548 * autorevert.el (auto-revert-notify-add-watch)
9549 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9550 it indicates changes in file modification time.
9551
0cdffd7d
GM
95522013-05-22 Glenn Morris <rgm@gnu.org>
9553
ca5995ec
GM
9554 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9555 Always delete the autoloaded function from the noruntime and
9556 unresolved functions lists.
9557
6450907e
GM
9558 * allout.el: No need to load epa, epg, overlay when compiling.
9559 (epg-context-set-passphrase-callback, epg-list-keys)
9560 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9561 (epg-key-user-id-list): Declare.
9562
9c6906f6
GM
9563 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9564 (viper-set-parsing-style-toggling-macro)
9565 (viper-set-emacs-state-searchstyle-macros):
9566 Use called-interactively-p on Emacs.
9567 (viper-looking-back): Make it an obsolete alias. Update callers.
9568 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9569 Use looking-back rather than viper-looking-back.
9570 (viper-tmp-insert-at-eob, viper-enlarge-region)
9571 (viper-read-string-with-history, viper-register-to-point)
9572 (viper-append-to-register, viper-change-state-to-vi)
9573 (viper-backward-char-carefully, viper-forward-char-carefully)
9574 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9575 (viper-change-state-to-emacs): Declare.
9576 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9577 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9578 * emulation/viper-mous.el: Do not load viper-cmd.
9579 (viper-backward-char-carefully, viper-forward-char-carefully)
9580 (viper-forward-word, viper-adjust-window): Declare.
9581
5f70c169
GM
9582 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9583
b1b7f300
GM
9584 * progmodes/idlw-help.el (idlwave-help-fontify):
9585 Use called-interactively-p.
9586
f6ebbb46
GM
9587 * term/w32console.el (w32-get-console-codepage)
9588 (w32-get-console-output-codepage): Declare.
9589
0cdffd7d
GM
9590 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9591 Remove unnecessary declarations.
9592 (dframe-message): Doc fix.
9593
9594 * info.el (dframe-select-attached-frame, dframe-current-frame):
9595 Declare.
9596
9597 * speedbar.el (speedbar-message): Make it an obsolete alias.
9598 Update all callers.
9599 (speedbar-with-attached-buffer)
9600 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9601 (speedbar-with-writable): Use backquote.
9602 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9603 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9604 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9605 rather than speedbar- aliases.
9606 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9607 (speedbar-make-specialized-keymap, speedbar-insert-button)
9608 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9609 (speedbar-do-function-pointer): Declare.
9610 (rmail-speedbar-button, rmail-speedbar-find-file)
9611 (rmail-speedbar-move-message):
9612 Use dframe-with-attached-buffer rather than speedbar- alias.
9613 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9614 (dframe-message, speedbar-make-specialized-keymap)
9615 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9616 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9617 (speedbar-insert-button, dframe-select-attached-frame)
9618 (dframe-maybee-jump-to-attached-frame)
9619 (speedbar-change-initial-expansion-list)
9620 (speedbar-previously-used-expansion-list-name): Declare.
9621 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9622 Use dframe-message, dframe-with-attached-buffer rather than
9623 speedbar- aliases.
9624 (gud-sentinel): Silence compiler.
9625 * progmodes/vhdl-mode.el (speedbar-refresh)
9626 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9627 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9628 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9629 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9630 (speedbar-file-lists, speedbar-make-tag-line)
9631 (speedbar-line-directory, speedbar-goto-this-file)
9632 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9633 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9634 (speedbar-make-button, speedbar-reset-scanners)
9635 (speedbar-files-item-info, speedbar-line-text)
9636 (speedbar-find-file-in-frame, speedbar-set-timer)
9637 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9638 (speedbar-with-writable): Do not (re)define it.
9639 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9640 rather than speedbar- alias.
9641
ee44b62a
LL
96422013-05-21 Leo Liu <sdl.web@gmail.com>
9643
9644 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9645 menu items.
9646 (octave-mode): Tweak fill-nobreak-predicate.
9647 (inferior-octave-startup): Check process to avoid infinite loop.
9648 (inferior-octave): Pop to buffer first to show abornmal process
9649 exit information.
9650
640f050f
GM
96512013-05-21 Glenn Morris <rgm@gnu.org>
9652
79458038
GM
9653 * printing.el (pr-menu-bar): Define when compiling.
9654
9cc3e83f
LL
96552013-05-21 Leo Liu <sdl.web@gmail.com>
9656
9657 * progmodes/octave.el (octave-auto-fill): Remove.
9658 (octave-indent-new-comment-line): Improve.
9659 (octave-mode): Use auto fill mode through
4f405069 9660 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 9661 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 9662 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
9663 (octave-help): Show parent directory.
9664
f440830d
GM
96652013-05-21 Glenn Morris <rgm@gnu.org>
9666
9667 * files.el (dired-unmark):
9668 * progmodes/gud.el (gdb-input): Update declarations.
9669
9670 * calculator.el (electric, ehelp): No need to load when compiling.
9671 (Electric-command-loop, electric-describe-mode): Declare.
9672
9673 * doc-view.el (doc-view-current-converter-processes): Move before use.
9674
9675 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9676 Move MODE-set-explicitly definition before use.
9677
9678 * international/mule-diag.el (mule-diag):
9679 Don't use obsolete window-system-version.
9680
9681 * mail/feedmail.el (smtpmail): No need to load when compiling.
9682 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9683
9684 * mail/mail-utils.el (rfc822): No need to load when compiling.
9685 (rfc822-addresses): Autoload it.
9686 (mail-strip-quoted-names): Trivial simplification.
9687
9688 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9689 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9690
9691 * net/snmp-mode.el (tempo): Don't duplicate requires.
9692
9693 * progmodes/prolog.el (info): No need to load when compiling.
9694 (comint): Require before shell requires it.
9695 (Info-goto-node): Autoload it.
9696 (Info-follow-nearest-node): Declare.
9697 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9698
9699 * textmodes/artist.el (picture-mode-exit): Declare.
9700
9701 * textmodes/reftex-parse.el (reftex-parse-from-file):
9702 Trivial rewrite so the compiler can parse it better.
9703
b4da2cbb
LL
97042013-05-20 Leo Liu <sdl.web@gmail.com>
9705
9706 * progmodes/octave.el (octave-help-mode-map)
9707 (octave-help-mode-finish-hook): New variables.
9708 (octave-help-mode, octave-help-mode-finish): New functions.
9709 (octave-help): Use octave-help-mode.
9710
33c0f65b
GM
97112013-05-20 Glenn Morris <rgm@gnu.org>
9712
9713 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9714
1a0a0a8a
DG
97152013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9716
9717 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9718 start at point, so that expansion starting right after opening
9719 slash in a regexp is recognized.
9720 (ruby-syntax-before-regexp-re): New defvar, extracted from
9721 ruby-syntax-propertize-function. Since the value of this regexp
9722 is looked up at runtime now, we should be able to turn
9723 `ruby-syntax-methods-before-regexp' into a defcustom later.
9724 (ruby-syntax-propertize-function): Split regexp matching into two
9725 parts, for opening and closing slashes. That allows us to skip
9726 over string interpolations and support multiline regexps.
9727 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9728 for them, which calls `ruby-syntax-propertize-expansion'.
9729 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9730 call to `ruby-syntax-propertize-function'.
9731 (ruby-syntax-propertize-expansion): Extracted from
9732 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9733 (ruby-syntax-propertize-percent-literal): Leave point right after
9734 the percent symbol, so that the expression expansion rule can
9735 propertize the contents.
462388b6
DG
9736 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9737 heredoc openers.
9738 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9739
c1a6c0a4
JL
97402013-05-18 Juri Linkov <juri@jurta.org>
9741
9742 * man.el (Man-default-man-entry): Remove `-' from the end
9743 of the default value. (Bug#14400)
9744
8051fccd
GM
97452013-05-18 Glenn Morris <rgm@gnu.org>
9746
9747 * comint.el (comint-password-prompt-regexp):
9748 Allow "password for XXX" where XXX contains colons (eg https://...).
9749
5e80b74f
LL
97502013-05-18 Leo Liu <sdl.web@gmail.com>
9751
9752 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9753 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9754 (octave-source-directories): Don't check process.
9755 (octave-source-directories, octave-find-definition): Doc fix.
9756
521a54c5
GM
97572013-05-18 Glenn Morris <rgm@gnu.org>
9758
86a94b05
GM
9759 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9760 Remove backspace/delete bindings. (Bug#14392)
9761
521a54c5
GM
9762 * cus-dep.el (custom-make-dependencies): Sort the output.
9763 (custom-versions-load-alist): Convert comment to doc.
9764
42caeb89
LL
97652013-05-17 Leo Liu <sdl.web@gmail.com>
9766
9767 * newcomment.el (comment-search-backward): Stricter in finding
9768 comment start. (Bug#14303)
9769
9770 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9771 (octave-comment-start-skip): Properly anchored.
9772
e219dd97
LL
97732013-05-17 Leo Liu <sdl.web@gmail.com>
9774
fe1eb856
RS
9775 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9776 Clean up when turned off. (Bug#14395)
e219dd97
LL
9777 (smie--highlight-matching-block-overlay): No longer buffer-local.
9778 (smie-highlight-matching-block): Adjust.
9779
dc5dcb4b
PE
97802013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9781
9782 Doc string fix for "nanoseconds" (Bug#14406).
9783 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9784 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9785
1db165f0
JB
97862013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9787
9788 * calc/calc-units.el (math-extract-units): Preserve powers
9789 of units.
9790
c7a8fcac
LL
97912013-05-17 Leo Liu <sdl.web@gmail.com>
9792
9793 * subr.el (delete-consecutive-dups): New function.
9794 * ido.el (ido-set-matches-1): Use it.
9795 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9796 * ido.el (ido-remove-consecutive-dups): Remove.
9797
f678b18a
SM
97982013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9799
9800 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9801 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9802 regexp-opt's `words'.
9803
ebfe68e8
LL
98042013-05-16 Leo Liu <sdl.web@gmail.com>
9805
9806 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9807 (smie--highlight-matching-block-overlay)
9808 (smie--highlight-matching-block-lastpos)
9809 (smie--highlight-matching-block-timer): New variables.
9810 (smie-highlight-matching-block): New function.
9811 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9812 (smie-setup): Conditionally enable smie-blink-matching-open.
9813
bc8bc17d
WS
98142013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9815
9816 Sync with upstream verilog-mode r840.
9817 * progmodes/verilog-mode.el (verilog-mode-version)
9818 (verilog-mode-release-date): Update.
9819 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9820 (verilog-sig-tieoff): Fix string error on
9821 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9822 (verilog-read-decls): Fix parameters confusing
9823 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9824
df065a0b
EZ
98252013-05-16 Eli Zaretskii <eliz@gnu.org>
9826
9827 * subr.el (reveal-filename): New function.
9828
9829 * loadup.el: Compute Emacs executable versions on MS-Windows,
9830 where executables have the .exe extension. Add a hard link
9831 emacs-XX.YY.ZZ.exe on MS-Windows.
9832
9833 * Makefile.in (XARGS_LIMIT): New variable.
9834 (custom-deps, finder-data, autoloads)
9835 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9836 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9837 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9838 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9839
2d4bf34b
LL
98402013-05-16 Leo Liu <sdl.web@gmail.com>
9841
9842 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9843 (octave-mode-menu, octave-mode-map): Remove its uses.
9844
6b9c2d85
RZ
98452013-05-16 Reto Zimmermann <reto@gnu.org>
9846
9847 Sync with upstream vhdl mode v3.34.2.
9848 * progmodes/vhdl-mode.el: Use `push' throughout.
9849 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9850 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9851 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9852 (vhdl-actual-generic-name): New option to derive actual generic name.
9853 (vhdl-port-paste-signals): Replace formal by actual generics.
9854 (vhdl-beautify): New name for old group vhdl-align. Update users.
9855 (vhdl-beautify-options): New option.
9856 (vhdl-last-input-event): New compat alias. Use throughout.
9857 (vhdl-goto-line): Replace user level function `goto-line'.
9858 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9859 vhdl-fix-statement-buffer.
9860 (vhdl-create-mode-menu): Add some entries.
9861 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9862 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9863 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9864 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9865 to force statements on one line.
9866 (vhdl-remove-trailing-spaces-region):
9867 New, split from vhdl-remove-trailing-spaces.
9868 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9869 Respect vhdl-beautify-options.
9870 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9871 (vhdl-update-sensitivity-list): Not add with index if exists without.
9872 Not include array index with signal. Ignore keywords in comments.
9873 (vhdl-get-visible-signals): Regexp tweaks.
9874 (vhdl-template-component-inst): Handle empty library.
9875 (vhdl-template-type): Add template for 'enum' type.
9876 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9877 Use vhdl-replace-string.
9878 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9879 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9880 (vhdl-speedbar-initialize): Update for above name change.
9881 (vhdl-compose-wire-components): Fix in handling of constants.
9882 (vhdl-error-regexp-emacs-alist): New variable.
9883 (vhdl-error-regexp-add-emacs): New function;
9884 adds support for new compile.el (Emacs 22+)
9885 (vhdl-generate-makefile-1): Change target order for single lib. units.
9886 Allow use of absolute file names.
9887
9df4ec5e
LL
98882013-05-16 Leo Liu <sdl.web@gmail.com>
9889
9890 * simple.el (prog-indent-sexp): Indent enclosing defun.
9891
f5ba00a6
GM
98922013-05-15 Glenn Morris <rgm@gnu.org>
9893
ed8be7ff
GM
9894 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9895 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9896 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9897 (whitespace-highlight): Move to whitespace group.
9898
9899 * comint.el (comint-source):
9900 * pcmpl-linux.el (pcmpl-linux):
9901 * shell.el (shell-faces):
9902 * eshell/esh-opt.el (eshell-opt):
9903 * international/ccl.el (ccl): Remove empty custom groups.
9904
9905 * completion.el (dynamic-completion-mode):
9906 * jit-lock.el (jit-lock-debug-mode):
9907 * minibuffer.el (completion-in-region-mode):
9908 * type-break.el (type-break-mode-line-message-mode)
9909 (type-break-query-mode):
9910 * emulation/tpu-edt.el (tpu-edt-mode):
9911 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9912 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9913 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9914
9915 * term/xterm.el (xterm): Change parent group to terminals.
9916
9917 * master.el (master): Remove empty custom group.
9918 (master-mode): Remove unused :group argument.
9919 * textmodes/refill.el (refill): Remove empty custom group.
9920 (refill-mode): Remove unused :group argument.
9921
9922 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9923
82a7c41b
GM
9924 * cus-dep.el: Provide a feature.
9925 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
9926 Don't mistakenly ignore files whose basenames match a basename
9927 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 9928 Add a fallback method for getting :group.
f5ba00a6 9929
6d65486d
JL
99302013-05-15 Juri Linkov <juri@jurta.org>
9931
da547b32
JL
9932 * isearch.el (isearch-char-by-name): Rename from
9933 `isearch-insert-char-by-name'. Doc fix.
9934 (isearch-forward): Mention `isearch-char-by-name' in
9935 the docstring. (Bug#13348)
9936
6d65486d
JL
9937 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9938 `exit-minibuffer' instead of
9939 `isearch-nonincremental-exit-minibuffer'.
9940 (isearch-edit-string): Remove mention of
9941 `isearch-nonincremental-exit-minibuffer' from docstring.
9942 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9943 (isearch-forward-exit-minibuffer)
9944 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9945
c9990474
SM
99462013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9947
6e911150
SM
9948 * loadup.el: Just use unversioned DOC.
9949
c9990474
SM
9950 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9951 literals as extending to EOB.
9952 (nxml-last-fontify-end): Remove unused variable.
9953 (nxml-after-change1): Use with-silent-modifications.
9954 (nxml-extend-after-change-region): Simplify.
9955 (nxml-extend-after-change-region1): Remove function.
9956 (nxml-after-change1): Don't adjust for dependent regions.
9957 (nxml-fontify-matcher): Simplify.
9958 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9959 (xmltok-add-dependent): Remove function.
9960 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9961 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9962 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9963 unclosed <[[, <?, comment, and other literals as extending to EOB.
9964 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9965 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9966 Remove functions.
9967 (rng-do-some-validation-1): Don't mark dependent regions.
9968 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9969 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9970 (nxml-clear-dependent-regions): Remove functions.
9971 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9972 (nxml-ensure-scan-up-to-date):
9973 Don't clear&mark dependent regions.
9974
e3772e98
LL
99752013-05-15 Leo Liu <sdl.web@gmail.com>
9976
c9990474
SM
9977 * progmodes/octave.el (octave-goto-function-definition):
9978 Improve and fix callers.
e3772e98 9979
5ac2eb34
SM
99802013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9981
c46c57b0
SM
9982 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9983 the setter (bug#14387).
9984
5ac2eb34
SM
9985 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9986 surrounding group (bug#14402).
9987
180ed218
JL
99882013-05-14 Juri Linkov <juri@jurta.org>
9989
9990 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9991 (Bug#14390)
9992
0ac0fecb
GM
99932013-05-14 Glenn Morris <rgm@gnu.org>
9994
9995 * progmodes/f90.el (f90-imenu-generic-expression):
9996 Fix typo in 2013-05-08 change. (Bug#14402)
9997
2e78e6a7
JPG
99982013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9999
5ac2eb34
SM
10000 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10001 Remove signals for which replies are never received.
2e78e6a7 10002
53267cca
JPG
100032013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10004
10005 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10006 (gdb-handler-alist, gdb-handler-number): Remove variables.
10007 (gdb-handler-list): New variable.
10008 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10009 (gdb-pending-handler-p, gdb-handle-reply)
10010 (gdb-remove-all-pending-triggers): New functions.
10011 (gdb-discard-unordered-replies): New defcustom.
10012 (gdb-handler): New defstruct.
10013 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10014 instead of gdb-pending-triggers. Update docstring.
10015 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10016 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10017 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10018 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10019 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10020 (gdb-frame-handler): Pending triggers are now automatically managed.
10021 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10022 Remove argument.
10023 (gdb-input): Automatically handles pending triggers. Update docstring.
10024 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10025 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10026 Update comments.
10027 (gdb-done-or-error): Now use gdb-handle-reply.
10028
d04ce803
JPG
100292013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10030
10031 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10032 gdb-debug-log.
10033
0114073a
GM
100342013-05-14 Glenn Morris <rgm@gnu.org>
10035
10036 * subr.el (user-emacs-directory-warning): New option.
10037 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10038
4d25fd7e
LL
100392013-05-14 Leo Liu <sdl.web@gmail.com>
10040
10041 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10042 during redisplay.
10043 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
10044 (octave-font-lock-texinfo-comment): Fix invalid search bound
10045 error: wrong side of point.
4d25fd7e 10046
27c8b6eb
GM
100472013-05-14 Glenn Morris <rgm@gnu.org>
10048
61aaeb01
GM
10049 * progmodes/flymake.el (flymake-xml-program): New option.
10050 (flymake-xml-init): Use it.
10051
5bf90bc5
GM
10052 * term/xterm.el: Provide a feature.
10053
10054 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 10055
f4c7dfd2
GM
100562013-05-13 Glenn Morris <rgm@gnu.org>
10057
10058 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10059 Add compat aliases as a hack workaround. (Bug#14384)
10060
2aeb3a1d
LL
100612013-05-13 Leo Liu <sdl.web@gmail.com>
10062
b0e069c2
LL
10063 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10064 ###, and %!.
f5a9432f
LL
10065 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10066 C-M-q.
b0e069c2
LL
10067 (octave-comment-start-skip): Include %!.
10068 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 10069
30ea8374
LL
100702013-05-12 Leo Liu <sdl.web@gmail.com>
10071
10072 * progmodes/octave.el (inferior-octave-startup): Store the value
10073 of __octave_srcdir__ for octave-source-directories.
10074 (inferior-octave-check-process): New function refactored out of
10075 inferior-octave-send-list-and-digest.
10076 (octave-source-directories)
10077 (octave-find-definition-filename-function): New variables.
10078 (octave-source-directories)
10079 (octave-find-definition-default-filename): New functions.
10080 (octave-find-definition): Improve to find functions implemented in C++.
10081
472a3834
GM
100822013-05-12 Glenn Morris <rgm@gnu.org>
10083
10084 * calendar/diary-lib.el (diary-outlook-format-1):
10085 Don't include dayname in the output. (Bug#14349)
10086
3191b52f
GM
100872013-05-11 Glenn Morris <rgm@gnu.org>
10088
0060ac73
GM
10089 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10090
3191b52f
GM
10091 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10092 Treat cc-provide like provide.
10093
e065ba74
KR
100942013-05-11 Kevin Ryde <user42@zip.com.au>
10095
10096 * cus-dep.el (custom-make-dependencies):
10097 Use generated-autoload-load-name for the sake of files such
10098 such cedet/semantic/bovine/c.el, where the base file name
10099 is not in load-path. (Bug#5277)
10100
36f84c37
GM
101012013-05-11 Glenn Morris <rgm@gnu.org>
10102
10103 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10104 Provide features.
10105
c8730c3a
LL
101062013-05-11 Leo Liu <sdl.web@gmail.com>
10107
10108 * progmodes/octave.el (octave-indent-comment): Improve.
10109 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
10110 (octave-eldoc-function-signatures, octave-eldoc-function):
10111 New functions.
c8730c3a
LL
10112 (octave-mode, inferior-octave-mode): Add eldoc support.
10113
212e29f2
RS
101142013-05-11 Richard Stallman <rms@gnu.org>
10115
10116 * epa.el (epa-decrypt-file): Take output file name as argument
10117 and read it using `interactive'.
10118
083fe0d7
LL
101192013-05-11 Leo Liu <sdl.web@gmail.com>
10120
10121 * progmodes/octave.el (octave-beginning-of-line)
10122 (octave-end-of-line): Check before using up-list because it jumps
10123 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
10124 (octave-indent-comment): New function.
10125 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
10126 (octave-begin-keywords, octave-end-keywords)
10127 (octave-reserved-words, octave-smie-bnf-table)
10128 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 10129
8582e4c4
GM
101302013-05-11 Glenn Morris <rgm@gnu.org>
10131
f20def1f
GM
10132 * faces.el (internal-face-x-get-resource):
10133 * frame.el (ns-display-monitor-attributes-list):
d78abe37 10134 * calc/calc-aent.el (math-to-radians-2):
f20def1f 10135 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 10136 Fix declarations.
f20def1f 10137
445f95e2
GM
10138 * calc/calc-menu.el: Make it loadable in isolation.
10139
10140 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10141 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10142 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10143 (eudc-bbdb-query-internal): Require 'bbdb.
10144
99fb2756
GM
10145 * lpr.el (lpr-headers-switches):
10146 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10147
10148 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10149
0da7ad96
GM
10150 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10151
8582e4c4
GM
10152 * term.el (term-set-escape-char): Make it idempotent.
10153
f71c50d0
LL
101542013-05-10 Leo Liu <sdl.web@gmail.com>
10155
5ac2eb34
SM
10156 * progmodes/octave.el (inferior-octave-completion-table):
10157 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
10158 completion due to bug#11906.
10159 (octave-beginning-of-defun): Re-write to be more general.
10160
d5837773
GM
101612013-05-10 Glenn Morris <rgm@gnu.org>
10162
10163 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10164
027c0f75
SM
101652013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10166
10167 * comint.el (comint-redirect-send-command-to-process): Use :around
10168 rather than :override for comint-redirect-filter.
10169 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10170 Call it instead of comint-redirect-original-filter-function (which
10171 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10172
4465bfb4
JD
101732013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10174
10175 * frame.el (display-monitor-attributes-list): Add NS case.
10176 (ns-display-monitor-attributes-list): Declare.
10177
2d809ffa 101782013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
10179
10180 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10181
e54eeb9b
GM
101822013-05-09 Glenn Morris <rgm@gnu.org>
10183
56cd351d
GM
10184 * international/fontset.el (vertical-centering-font-regexp):
10185 Set standard-value.
10186
d84b6108
GM
10187 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10188
a931698a
GM
10189 * bookmark.el (bookmark-search-delay):
10190 * cus-start.el (vertical-centering-font-regexp):
10191 * ps-mule.el (ps-mule-font-info-database-default):
10192 * ps-print.el (ps-default-fg, ps-default-bg):
10193 * type-break.el (type-break-good-break-interval):
10194 * whitespace.el (whitespace-indentation-regexp)
10195 (whitespace-space-after-tab-regexp):
10196 * emacs-lisp/testcover.el (testcover-1value-functions)
10197 (testcover-noreturn-functions, testcover-progn-functions)
10198 (testcover-prog1-functions):
10199 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10200 * eshell/em-glob.el (eshell-glob-translate-alist):
10201 * play/tetris.el (tetris-tty-colors):
10202 * progmodes/cpp.el (cpp-face-default-list):
10203 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10204 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10205 (idlwave-help-browser-generic-args):
10206 * progmodes/make-mode.el (makefile-special-targets-list):
10207 * progmodes/python.el (python-shell-virtualenv-path):
10208 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10209 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10210 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10211 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10212 * textmodes/reftex-vars.el (reftex-format-label-function):
10213 * textmodes/remember.el (remember-diary-file): Fix custom types.
10214
e54eeb9b
GM
10215 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10216 Add :version.
10217
455851dd
LL
102182013-05-09 Leo Liu <sdl.web@gmail.com>
10219
10220 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 10221 Restore file completion. (Bug#14300)
455851dd
LL
10222 (inferior-octave-startup): Fix incorrect highlighting for the
10223 first prompt.
10224
a9e4425b
SM
102252013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10226
10227 * progmodes/ruby-mode.el: First cut at SMIE support.
10228 (ruby-use-smie): New var.
10229 (ruby-smie-grammar): New constant.
10230 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10231 (ruby-smie--forward-token, ruby-smie--backward-token)
10232 (ruby-smie-rules): New functions.
10233 (ruby-mode-variables): Setup SMIE if applicable.
10234
060ca408
EZ
102352013-05-08 Eli Zaretskii <eliz@gnu.org>
10236
10237 * simple.el (line-move-visual): Signal beginning/end of buffer
10238 only if vertical-motion moved less than it was requested. Avoids
10239 silly incorrect error messages when there are display strings with
10240 multiple newlines at EOL.
10241
1d5963cc
SM
102422013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10243
10244 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10245 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10246 (prolog-char-quote-workaround):
10247 * progmodes/cperl-mode.el (cperl-under-as-char):
10248 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
10249 Mark as obsolete.
10250 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
10251 their declaration.
10252 (vhdl-mode-syntax-table-init): Remove.
10253
c9990474
SM
10254 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10255 last change.
1d5963cc
SM
10256
10257 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10258 syntax for "_".
10259 (ld-script-font-lock-keywords):
10260 Change regexps to use things like \_< and \_>.
10261
10262 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10263 Change all regexps to use things like \_< and \_>.
10264
10265 * progmodes/autoconf.el (autoconf-definition-regexp)
10266 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10267 Handle a _ with symbol syntax.
10268 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10269
c9990474
SM
10270 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10271 Consolidate declaration.
1d5963cc
SM
10272 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10273 the declaration.
10274 (ada-create-syntax-table): Remove.
10275 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10276 already has the right syntax nowadays.
10277 (ada-goto-next-word): Don't change the syntax of "_".
10278
10279 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10280 with-wrapper-hook.
10281
72d3cfca
SS
102822013-05-08 Sam Steingold <sds@gnu.org>
10283
10284 * thingatpt.el (thing-at-point): Accept optional second argument
10285 NO-PROPERTIES to strip the text properties from the return value.
10286 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10287 to `thing-at-point' instead of stripping the properties ourselves.
10288 Also, when `thing-at-point' fails to find a url, prepend "http://"
10289 to the filename at point on the assumption that the user is
10290 pointing at something like gnu.org/gnu.
10291
5cb15713
JB
102922013-05-08 Juanma Barranquero <lekktu@gmail.com>
10293
10294 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10295 * faces.el (crm-separator):
10296 Silence byte-compiler.
10297
10298 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10299 (tool-bar-map): Remove unneeded defvars.
10300
ea78b95b
LL
103012013-05-08 Leo Liu <sdl.web@gmail.com>
10302
10303 Re-work a fix for bug#10994 based on Le Wang's patch.
10304 * ido.el (ido-remove-consecutive-dups): New helper.
10305 (ido-completing-read): Use it.
10306 (ido-chop): Revert fix for bug#10994.
10307
dc7466df
AS
103082013-05-08 Adam Spiers <emacs@adamspiers.org>
10309
10310 * cus-edit.el (custom-save-variables):
10311 Pretty-print long values. (Bug#14187)
10312
9ecf672a
GM
103132013-05-08 Glenn Morris <rgm@gnu.org>
10314
10315 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10316 (m4-mode-syntax-table): Init in the defvar.
10317 (m4-mode-abbrev-table): Let define-derived-mode define it.
10318
3f555be8
TT
103192013-05-08 Tom Tromey <tromey@redhat.com>
10320
10321 * progmodes/m4-mode.el (m4-mode-syntax-table):
10322 Do not treat "_" as word constituent. (Bug#14167)
10323
7cc8ae06
GM
103242013-05-07 Glenn Morris <rgm@gnu.org>
10325
4f58bc06
GM
10326 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10327 Remove explicit eshell-isearch-cancel-map.
10328
7cc8ae06
GM
10329 * progmodes/f90.el (f90-smart-end-names): New option.
10330 (f90-smart-end): Doc fix.
10331 (f90-end-block-optional-name): New constant.
10332 (f90-block-match): Respect f90-smart-end-names.
10333
ceb57e59
SM
103342013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10335
10336 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10337 about implicit semi-colons (bug#14218).
10338
4e3f9230
YM
103392013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10340
10341 * frame.el (display-monitor-attributes-list)
10342 (frame-monitor-attributes): New functions.
10343
203a5572
LL
103442013-05-06 Leo Liu <sdl.web@gmail.com>
10345
10346 * progmodes/octave.el (octave-syntax-propertize-function): Change
10347 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10348 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10349 (octave-completion-at-point): Rename from
203a5572
LL
10350 octave-completion-at-point-function.
10351 (inferior-octave-directory-tracker): Robustify.
10352 (octave-text-functions): Remove and fix its uses. No such things
10353 any more.
10354
ee6cff99
SM
103552013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10356
10357 * emacs-lisp/trace.el (trace--display-buffer): New function.
10358 (trace-make-advice): Use it.
10359
32985194
JL
103602013-05-06 Juri Linkov <juri@jurta.org>
10361
10362 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10363 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10364 Doc fix.
10365 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10366 in the help string. (Bug#12985)
10367
a1c700de
KD
103682013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10369
10370 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10371
c67c0839
SM
103722013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10373
323885fd
SM
10374 * progmodes/perl-mode.el: Add support for here documents.
10375 (perl-syntax-propertize-function): Match here-doc markers.
10376 (perl-syntax-propertize-special-constructs): Find their end.
10377 (perl-imenu-generic-expression): Use [:alnum:].
10378
c67c0839
SM
10379 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10380 (advice--add-function): Refresh the advice if already present
10381 (bug#14317).
10382
d491e7a8
IA
103832013-05-06 Ivan Andrus <darthandrus@gmail.com>
10384
10385 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10386
ddf9925e
GM
103872013-05-06 Glenn Morris <rgm@gnu.org>
10388
7cc3af27
GM
10389 * w32-fns.el (w32-charset-info-alist): Declare.
10390
16e343d6
GM
10391 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10392 of its defcustom properties.
10393 (eshell-cmpl-initialize): No need to load pcomplete.
10394
7d889a47
GM
10395 * generic-x.el: No need to require comint when compiling.
10396
ddf9925e
GM
10397 * net/eudc-export.el: Make it loadable without bbdb.
10398 (top-level): Use require rather than load-library.
10399 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10400 (eudc-batch-export-records-to-bbdb)
10401 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10402 Require bbdb.
10403
1e2c18df
SM
104042013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10405
10406 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10407 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10408 some tweaks, instead.
10409
02502a5f
LL
104102013-05-05 Leo Liu <sdl.web@gmail.com>
10411
10412 * progmodes/octave.el (octave-font-lock-keywords)
10413 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10414 (inferior-octave-send-list-and-digest): Improve error message.
10415 (octave-mode, inferior-octave-mode): Use setq-local.
10416 (octave-help): Set info-lookup-mode.
10417
0dc04f42
RS
104182013-05-05 Richard Stallman <rms@gnu.org>
10419
6c54491c
RS
10420 * vc/compare-w.el (compare-windows-whitespace):
10421 Treat no-break space as whitespace.
10422
0dc04f42
RS
10423 * mail/rmailsum.el (rmail-summary-rmail-update):
10424 Detect empty summary and don't change selected message.
10425 (rmail-summary-goto-msg): Likewise.
10426
df8f35df
RS
10427 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10428 Doc fixes, rename args.
10429
5356e1a3
AM
104302013-05-05 Alan Mackenzie <acm@muc.de>
10431
10432 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10433
d44014cb
JL
104342013-05-05 Juri Linkov <juri@jurta.org>
10435
10436 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10437 to not add the length of the summary segment to the return value.
10438 (Bug#14125)
10439
c129b51f
LL
104402013-05-05 Leo Liu <sdl.web@gmail.com>
10441
10442 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10443 (inferior-octave-output-filter): Remove.
10444 (octave-send-region, inferior-octave-startup): Fix callers.
10445 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10446 (octave-binary-file-extensions): New user variable.
10447 (octave-find-definition): Confirm if opening binary files.
10448 (octave-help-file): Use octave-find-definition to get the binary
10449 confirmation.
10450 (octave-help): Adjust for octave-help-file change.
10451
aa7dab97
SM
104522013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10453
10454 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10455 Merge the two entries that handle function definitions.
10456 (pascal--syntax-propertize): New const.
10457 (pascal-mode): Use it. Use setq-local.
10458
fd3a9a6b
GM
104592013-05-04 Glenn Morris <rgm@gnu.org>
10460
10461 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10462 (diary-from-outlook): Respect diary-from-outlook-function.
10463
30c7e542
SM
104642013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10465
10466 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10467 Move the declaration from C.
10468 (read-minibuffer, eval-minibuffer): Move from C.
10469 (completion-setup-function): Avoid minibuffer-completion-contents.
10470
b54f978b
LL
104712013-05-03 Leo Liu <sdl.web@gmail.com>
10472
10473 * progmodes/octave.el (octave-font-lock-keywords): Do not
10474 dehighlight 'end' in comments or strings.
30c7e542
SM
10475 (octave-completing-read, octave-goto-function-definition):
10476 New helpers.
d4d0f9b3
LL
10477 (octave-help-buffer): New user variable.
10478 (octave-help-file, octave-help-function): New button types.
10479 (octave-help): New command and bind it to C-h ;.
10480 (octave-find-definition): New command and bind it to M-.
d74a1581 10481 (user-error): Alias to error if not defined.
b54f978b 10482
27135018
LL
104832013-05-02 Leo Liu <sdl.web@gmail.com>
10484
10485 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10486 for \. (bug#14332)
10487 (octave-font-lock-keywords): Include [ and {.
10488
0d634d3a
LL
104892013-05-02 Leo Liu <sdl.web@gmail.com>
10490
10491 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10492 (inferior-octave): Remove calling comint-mode and return the buffer.
10493 (inferior-octave-startup): Cosmetic changes.
10494
b4c8295e
LL
104952013-05-02 Leo Liu <sdl.web@gmail.com>
10496
30c7e542
SM
10497 * progmodes/octave.el (octave-syntax-propertize-function):
10498 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10499
f12ad6ec
GM
105002013-05-02 Glenn Morris <rgm@gnu.org>
10501
10502 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10503 * desktop.el (vc-dir-mode): Just autoload it here.
10504
30cac1e0
AM
105052013-05-02 Alan Mackenzie <acm@muc.de>
10506
10507 Eliminate variable c-standard-font-lock-fontify-region-function.
10508 * progmodes/cc-mode.el
10509 (c-standard-font-lock-fontify-region-function): Remove.
10510 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10511
d8ef28b1
LL
105122013-05-01 Leo Liu <sdl.web@gmail.com>
10513
2640d52e 10514 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10515 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10516 variables were removed from Octave in 2007.
d8ef28b1
LL
10517 (inferior-octave-startup): Fix uses.
10518 (comint-line-beginning-position): Remove compatibility code for
10519 emacs 21.
10520
ac63ec89
JL
105212013-05-01 Juri Linkov <juri@jurta.org>
10522
10523 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10524
9e9be37c
JL
105252013-05-01 Juri Linkov <juri@jurta.org>
10526
10527 * comint.el (comint-previous-matching-input): Don't print message
10528 "History item: %d" when `isearch-mode' is active.
10529 (comint-history-isearch-message): Print message "History item: %d"
10530 when `comint-input-ring-index' is not empty and this function is
10531 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10532
9b92c13b
LL
105332013-05-01 Leo Liu <sdl.web@gmail.com>
10534
10535 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10536 definitions. Use completion-at-point to insert keywords.
10537 (octave-abbrev-start): Remove.
10538 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10539
b12d33d7
LL
105402013-04-30 Leo Liu <sdl.web@gmail.com>
10541
10542 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10543 change.
10544
3d1c39fa
AM
105452013-04-30 Alan Mackenzie <acm@muc.de>
10546
10547 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
10548 * progmodes/cc-engine.el (c-back-over-member-initializers):
10549 new function.
3d1c39fa
AM
10550 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10551 (most) member init lists.
10552
5147fc17
RS
105532013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10554
10555 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10556 variable.
10557
5b78d7fc
LL
105582013-04-30 Leo Liu <sdl.web@gmail.com>
10559
10560 * progmodes/octave.el (octave-variables): Remove. No builtin
10561 variables any more. All converted to functions.
10562 (octave-font-lock-keywords, octave-completion-at-point-function):
10563 Fix uses.
10564 (octave-font-lock-texinfo-comment): New user variable.
10565 (octave-texinfo-font-lock-keywords): New variable for texinfo
10566 comment block.
10567 (octave-function-comment-block): New face.
10568 (octave-font-lock-texinfo-comment): New function.
10569 (octave-mode): Font lock texinfo comment block.
10570
38d8527b
LL
105712013-04-29 Leo Liu <sdl.web@gmail.com>
10572
10573 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10574 indexing expression.
10575 (octave-continuation-string): Do not use \.
10576 (inferior-octave-complete-impossible): Remove.
10577 (inferior-octave-completion-table)
10578 (inferior-octave-completion-at-point): Remove its uses.
10579 (inferior-octave-startup): completion_matches was introduced to
10580 Octave in 1996 so safe to assume it.
10581 (octave-function-file-comment): Improve to follow how Octave does it.
10582 (octave-update-function-file-comment): Tweak.
10583
2ec12cb0
LL
105842013-04-29 Leo Liu <sdl.web@gmail.com>
10585
10586 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10587 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10588 (octave-function-file-comment): Fix typo.
10589 (octave-sync-function-file-names): Use read-char-choice.
10590
6eaed048
JB
105912013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10592
10593 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10594 to t for the less important warnings.
10595
3ffa2d4f
DH
105962013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10597
10598 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10599
685c9501
GM
106002013-04-27 Glenn Morris <rgm@gnu.org>
10601
10602 * vc/log-view.el (log-view-current-entry):
10603 Treat "---" separator lines as part of the following rev. (Bug#14169)
10604
0208ede7
JL
106052013-04-27 Juri Linkov <juri@jurta.org>
10606
10607 * subr.el (read-number): Doc fix about using it by interactive
10608 code letter `n'. (Bug#14254)
10609
5db9dace
JL
106102013-04-27 Juri Linkov <juri@jurta.org>
10611
10612 * desktop.el (desktop-auto-save-timeout): New option.
10613 (desktop-file-checksum): New variable.
10614 (desktop-save): Add optional arg `auto-save' and don't auto-save
10615 if nothing changed.
10616 (desktop-auto-save-timer): New variable.
10617 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10618 (after-init-hook): Call `desktop-auto-save-set-timer'.
10619 Suggested by Reuben Thomas <rrt@sc3d.org> in
10620 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10621
b7260dd4
LL
106222013-04-27 Leo Liu <sdl.web@gmail.com>
10623
10624 * progmodes/octave.el (octave-function-file-p)
10625 (octave-skip-comment-forward, octave-function-file-comment)
10626 (octave-update-function-file-comment): New functions.
10627 (octave-mode-map): Bind C-c ; to
10628 octave-update-function-file-comment.
10629 (octave-mode-menu): Add octave-update-function-file-comment.
10630 (octave-mode, inferior-octave-mode): Fix doc-string.
10631 (octave-insert-defun): Conform to Octave's coding convention.
10632 (Bug#14285)
10633
10634 * files.el (basic-save-buffer): Don't let errors in
10635 before-save-hook prevent saving buffer.
10636
c46da669
RW
106372013-04-20 Roland Winkler <winkler@gnu.org>
10638
10639 * faces.el (read-face-name): Use completing-read if arg multiple
10640 is nil.
10641
a81ee1eb
IL
106422013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10643
10644 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
10645 displayed, move point to after the totals line.
10646 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
10647 for the details.
10648
4fac34ce
SM
106492013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10650
10651 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10652 Add current dir to the load-path.
10653 (package-generate-autoloads): Don't rely on
10654 autoload-ensure-default-file.
10655
f6bfc063
RT
106562013-04-26 Reuben Thomas <rrt@sc3d.org>
10657
d40ab5cf
BG
10658 * textmodes/remember.el (remember-store-in-files): Document that
10659 the file name format is passed to `format-time-string'.
f6bfc063 10660
e55d3b04
LL
106612013-04-26 Leo Liu <sdl.web@gmail.com>
10662
10663 * progmodes/octave.el (octave-sync-function-file-names): New function.
10664 (octave-mode): Use it in before-save-hook.
10665
e53052d3
SM
106662013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10667
140ef50c
SM
10668 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10669 (bug#14274).
10670
e53052d3
SM
10671 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10672 \n and comment, even if it's not an implicit ; (bug#14218).
10673
af80458d 106742013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
10675
10676 * subr.el (read-number): Once more use `read' rather than
10677 `string-to-number', to trap non-numeric input. (Bug#14254)
10678
af80458d 106792013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
10680
10681 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10682 Use `syntax-multiline' text property consistently instead of
8a621d53 10683 `font-lock-multiline'. (Bug#14237)
70203c2e 10684
e6ea1f6c
GM
106852013-04-26 Glenn Morris <rgm@gnu.org>
10686
10687 * emacs-lisp/shadow.el (list-load-path-shadows):
10688 No longer necessary to check for duplicate simple.el, since
10689 2012-07-07 change to init_lread to not include installation lisp
10690 directories in load-path when running uninstalled. (Bug#14270)
10691
070ccca4
LL
106922013-04-26 Leo Liu <sdl.web@gmail.com>
10693
10694 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10695 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10696 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10697 octave-in-string-or-comment-p.
10698 (octave-in-comment-p, octave-in-string-p)
10699 (octave-in-string-or-comment-p): Replace defsubst with defun.
10700
9d1c5fb6
PE
107012013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10702
10703 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10704
c034abda
BG
107052013-04-25 Bastien Guerry <bzg@gnu.org>
10706
10707 * textmodes/remember.el (remember-data-directory)
10708 (remember-directory-file-name-format): Fix custom types.
10709
584ea277
LL
107102013-04-25 Leo Liu <sdl.web@gmail.com>
10711
e53052d3
SM
10712 * progmodes/octave.el (octave-completion-at-point-function):
10713 Make use of inferior octave process.
584ea277
LL
10714 (octave-initialize-completions): Remove.
10715 (inferior-octave-completion-table): New function.
10716 (inferior-octave-completion-at-point): Use it.
10717 (octave-completion-alist): Remove.
10718
1693b06a
SM
107192013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10720
10721 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10722 (opascal-mode-syntax-table): New var.
10723 (opascal-literal-kind, opascal-is-literal-end)
10724 (opascal-literal-token-at): Rewrite.
10725 (opascal--literal-start-re, opascal-font-lock-keywords)
10726 (opascal--syntax-propertize): New constants.
10727 (opascal-font-lock-defaults): Adjust.
10728 (opascal-mode): Use them. Set comment-<foo> variables as well.
10729 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10730 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10731 (delphi-other-face, opascal-other-face): Remove face variables.
10732 (opascal-save-state): Remove macro.
10733 (opascal-fontifying-progress-step): Remove constant.
10734 (opascal--ignore-changes): Remove var.
10735 (opascal-set-token-property, opascal-parse-next-literal)
10736 (opascal-is-stable-literal, opascal-complete-literal)
10737 (opascal-is-literal-start, opascal-face-of)
10738 (opascal-parse-region, opascal-parse-region-until-stable)
10739 (opascal-fontify-region, opascal-after-change)
10740 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10741 (opascal-debug-parse-region, opascal-debug-parse-window)
10742 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10743 (opascal-debug-fontify-buffer): Remove.
10744 (opascal-debug-mode-map): Adjust accordingly.
10745
be64c05d
LL
107462013-04-25 Leo Liu <sdl.web@gmail.com>
10747
10748 Merge octave-mod.el and octave-inf.el into octave.el with some
10749 cleanups.
10750 * progmodes/octave.el: New file renamed from octave-mod.el.
10751 * progmodes/octave-inf.el: Merged into octave.el.
10752 * progmodes/octave-mod.el: Renamed to octave.el.
10753
d79d37bd
TH
107542013-04-25 Tassilo Horn <tsdh@gnu.org>
10755
10756 * textmodes/reftex-vars.el
10757 (reftex-label-ignored-macros-and-environments): New defcustom.
10758
10759 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10760
ced3fc5d
SM
107612013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10762
10763 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10764 (smie-indent-keyword): Improve the check to ensure that the next
10765 comment is really on the same line.
10766 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10767
10768 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10769 semi-colons if the line is not otherwise empty (bug#14218).
10770
1c141dad
GM
107712013-04-25 Glenn Morris <rgm@gnu.org>
10772
10773 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10774
5058062a
SM
107752013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10776
10777 * progmodes/opascal.el (opascal-set-token-property): Rename from
10778 opascal-set-text-properties and only set `token' (bug#14134).
10779 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10780 (opascal-literal-text-properties): Remove.
10781 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10782 Adjust callers.
10783
5db9dace 107842013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
10785
10786 * textmodes/remember.el (remember-handler-functions): Add an
10787 option for a new handler `remember-store-in-files'.
10788 (remember-data-directory, remember-directory-file-name-format):
10789 New options.
10790 (remember-store-in-files): New function to store remember notes
10791 as separate files within a directory.
10792
4391916c
MH
107932013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10794
10795 * progmodes/compile.el (compilation-next-error-function):
10796 Pass "formats" to compilation-find-file (bug#11777).
10797
bb7cdf58
GM
107982013-04-24 Glenn Morris <rgm@gnu.org>
10799
3b8fe752 10800 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10801 * vc/vc-hg.el (vc-hg-print-log):
10802 * vc/vc-svn.el (vc-svn-print-log):
10803 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10804
bb7cdf58
GM
10805 * vc/vc-bzr.el (vc-bzr-print-log):
10806 * vc/vc-cvs.el (vc-cvs-print-log):
10807 * vc/vc-git.el (vc-git-print-log):
10808 * vc/vc-hg.el (vc-hg-print-log):
10809 * vc/vc-mtn.el (vc-mtn-print-log):
10810 * vc/vc-rcs.el (vc-rcs-print-log):
10811 * vc/vc-sccs.el (vc-sccs-print-log):
10812 * vc/vc-svn.el (vc-svn-print-log):
10813 * vc/vc.el (vc-print-log-internal): Doc fixes.
10814
b46a056e
GM
108152013-04-23 Glenn Morris <rgm@gnu.org>
10816
10817 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10818 Remove venerable code attempting to avoid substitute-command-keys.
10819
0aecf718
TH
108202013-04-23 Tassilo Horn <tsdh@gnu.org>
10821
4391916c
MH
10822 * textmodes/reftex-vars.el (reftex-label-regexps):
10823 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10824
117f94cf
SM
108252013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10826
4391916c 10827 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10828 Use lexical-binding.
10829 (jit-lock-force-redisplay): Use markers, check buffer's continued
10830 existence and beware narrowed buffers.
10831 (jit-lock-fontify-now): Adjust call accordingly.
10832
1d829c64
SM
108332013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10834
10835 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10836 to avoid misleading the user.
10837
72d548a9
LL
108382013-04-22 Leo Liu <sdl.web@gmail.com>
10839
10840 * info-look.el: Prefer latex2e.info. (Bug#14240)
10841
d0853629
MA
108422013-04-22 Michael Albinus <michael.albinus@gmx.de>
10843
10844 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10845
10846 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10847 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10848 (tramp-set-completion-function, tramp-parse-putty):
10849 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10850 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10851 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10852 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10853 (tramp-call-local-coding-command): Use `tramp-call-process'
10854 instead of `tramp-compat-call-process'.
10855
10856 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10857 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10858 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10859 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10860 (tramp-maybe-send-script): Check for Perl binary.
10861 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10862
38cc0210
DU
108632013-04-22 Daiki Ueno <ueno@gnu.org>
10864
10865 * epg.el (epg-context-pinentry-mode): New function.
10866 (epg-context-set-pinentry-mode): New function.
10867 (epg--start): Pass --pinentry-mode option to gpg command.
10868
cc641ee1
XF
108692013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10870
02d844b5 10871 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10872 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10873 `completion-at-point'. (Bug#13774)
5d4e5c31 10874
cc641ee1
XF
10875 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10876 default key binding for `describe-distribution' has been moved to
10877 `C-h C-o'. (Bug#13970)
10878
1b42ee43
GM
108792013-04-21 Glenn Morris <rgm@gnu.org>
10880
10881 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10882 Add doc strings.
10883 (vc-print-log): Clarify interactive prompt.
10884
a6d63d97
GM
108852013-04-20 Glenn Morris <rgm@gnu.org>
10886
10887 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10888 No longer include timestamp etc information.
10889
d7f5c16f
RW
108902013-04-20 Roland Winkler <winkler@gnu.org>
10891
10892 * faces.el (read-face-name): Bug fix, return just one face if arg
10893 multiple is nil. (Bug#14209)
10894
bcd7a0a4
SM
108952013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10896
10897 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10898 (remove-function): Autoload.
10899
10900 * comint.el (comint-redirect-original-filter-function): Remove.
10901 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
10902 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10903 (vc-cvs-annotate-command):
bcd7a0a4
SM
10904 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10905 * progmodes/prolog.el (prolog-consult-compile):
10906 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10907 Use add/remove-function instead.
10908 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10909 (gud-tooltip-process-output, gud-tooltip-tips):
10910 Use add/remove-function instead.
10911 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10912 (scheme-interaction-mode, exit-scheme-interaction-mode):
10913 Use add/remove-function instead.
10914
10915 * vc/vc-dispatcher.el: Use lexical-binding.
10916 (vc--process-sentinel): Rename from vc-process-sentinel.
10917 Change last arg to be the code to run. Don't use vc-previous-sentinel
10918 and vc-sentinel-commands any more.
10919 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10920 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10921
e36b2d20 109222013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 10923
bcd7a0a4 10924 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 10925 Handle function names with a single character. (Bug#14111)
4d3268ba 10926
781b4af6 109272013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
10928
10929 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10930 for subroutines defined in an eval (bug#14182).
10931
7d688336
TV
109322013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10933
10934 * bookmark.el (bookmark-completing-read): Improve handling of empty
10935 string (bug#14176).
10936
31dcede0
SM
109372013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10938
10939 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10940
adc31213
FEG
109412013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10942
10943 New faster Imenu implementation (bug#14058).
10944 * progmodes/python.el:
10945 (python-imenu-prev-index-position):
10946 (python-imenu-format-item-label-function)
10947 (python-imenu-format-parent-item-label-function)
10948 (python-imenu-format-parent-item-jump-label-function):
10949 New vars.
10950 (python-imenu-format-item-label)
10951 (python-imenu-format-parent-item-label)
10952 (python-imenu-format-parent-item-jump-label)
10953 (python-imenu--put-parent, python-imenu--build-tree)
10954 (python-imenu-create-index, python-imenu-create-flat-index)
10955 (python-util-popn): New functions.
10956 (python-mode): Set imenu-create-index-function to
10957 python-imenu-create-index.
10958
cdca8255
SM
109592013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10960
10961 * winner.el (winner-active-region): Use region-active-p, activate-mark
10962 and deactivate-mark (bug#14225).
10963
10964 * simple.el (deactivate-mark): Don't inline it.
10965
beb42340
MA
109662013-04-18 Michael Albinus <michael.albinus@gmx.de>
10967
10968 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10969
fc7f4d7e
TH
109702013-04-18 Tassilo Horn <tsdh@gnu.org>
10971
10972 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10973 file extensions from the archive-mode entry in order to prefer
10974 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10975
29f47822
LL
109762013-04-18 Leo Liu <sdl.web@gmail.com>
10977
10978 * bindings.el (help-event-list): Add ?\?.
10979
d36ed1c8
SM
109802013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10981
10982 * subr.el (with-wrapper-hook): Declare obsolete.
10983 * simple.el (filter-buffer-substring-function): New hook.
10984 (filter-buffer-substring): Use it.
10985 (filter-buffer-substring-functions): Mark obsolete.
10986 * minibuffer.el (completion-in-region-function): New hook.
10987 (completion-in-region): Use it.
10988 (completion-in-region-functions): Mark obsolete.
10989 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10990 * abbrev.el (abbrev-expand-function): New hook.
10991 (expand-abbrev): Use it.
10992 (abbrev-expand-functions): Mark obsolete.
10993 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10994 and :filter-return.
10995
04754d36
FEG
109962013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10997
10998 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10999 and do not care about match data.
11000
dd8791e9
SM
110012013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11002
11003 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11004 completion tables when completing error conditions and
11005 `declare' arguments.
11006 (lisp-complete-symbol, field-complete): Mark as obsolete.
11007 (check-parens): Unmatched parens are user errors.
11008 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11009
ffe54a13
AM
110102013-04-17 Michal Nazarewicz <mina86@mina86.com>
11011
dd8791e9
SM
11012 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11013 command changed buffer (ie. `flyspell-pre-buffer' is not current
11014 buffer), which prevents making decisions based on invalid value of
11015 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11016 cause an error when `flyspell-pre-point' was nil after switching
11017 buffers.
11018 (flyspell-post-command-hook): No longer needs to change buffers when
11019 checking pre-word. While at it remove unnecessary progn.
ffe54a13 11020
ec7e39f2
AM
110212013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11022
11023 * textmodes/ispell.el (ispell-add-per-file-word-list):
11024 Fix `flyspell-correct-word-before-point' error when accepting
11025 words and `coment-padding' is an integer by using
11026 `comment-normalize-vars' (Bug #14214).
11027
083850a6
FEG
110282013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11029
11030 New defun movement commands.
11031 * progmodes/python.el (python-nav--syntactically)
11032 (python-nav--forward-defun, python-nav-backward-defun)
11033 (python-nav-forward-defun): New functions.
11034
619ed6e1
FEG
110352013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11036
11037 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11038 (python-syntax-context): Use named compiler-macro for backwards
11039 compatibility with Emacs 24.x.
11040
7a1beb6c
LL
110412013-04-17 Leo Liu <sdl.web@gmail.com>
11042
11043 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11044 octave-hide-process-buffer.
11045
2d3fa3e5
SM
110462013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11047
11048 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11049 (bug#14216).
11050
7ce5be54
JPG
110512013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11052
11053 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11054 Fix adjustment of offset when receiving incomplete responses from GDB
11055 (bug#14129).
11056
351edece
SM
110572013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11058
11059 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11060 python-mode-abbrev-table.
11061 (python-skeleton-define): Adjust accordingly.
11062 (python-mode-abbrev-table): New table that inherits from it so that
11063 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11064
11065 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11066 (abbrev-symbol): Use it.
11067 (abbrev--before-point): Use it since we already handle inheritance.
11068
613f9481
LL
110692013-04-16 Leo Liu <sdl.web@gmail.com>
11070
11071 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11072 binding to info-lookup-symbol.
11073
51646b62
JB
110742013-04-16 Juanma Barranquero <lekktu@gmail.com>
11075
11076 * minibuffer.el (completion--twq-all):
11077 * term/ns-win.el (ns-initialize-window-system):
11078 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11079
efb3f01d
SM
110802013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11081
36c0a301
SM
11082 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11083 global bindings.
11084
efb3f01d
SM
11085 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11086
fb549d64
DG
110872013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11088
11089 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11090 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11091 to nil.
11092 (ruby-end-of-defun): Remove the unused arg, change the docstring
11093 to reflect that this function is only used as the value of
11094 `end-of-defun-function'.
11095 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11096 to reflect an earlier change that beginning/end-of-defun functions
11097 jump between methods in a class definition, as well as top-level
11098 functions.
11099
21e8fe2f
SM
111002013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11101
11102 * minibuffer.el (minibuffer-complete): Don't just scroll
11103 a *Completions* that's been iconified.
11104 (minibuffer-force-complete): Make sure repetitions do cycle when going
11105 through completion-in-region -> minibuffer-complete.
11106
20e527d0
AM
111072013-04-15 Alan Mackenzie <acm@muc.de>
11108
11109 Correct the placement of c-cpp-delimiters when there're #s not at
11110 col 0.
11111
11112 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11113 place a submatch around the #.
21e8fe2f
SM
11114 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11115 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
11116 on the #, not BOL.
11117
dabefae5
SM
111182013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11119
11120 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11121 (advice--member-p): New arg `name'.
11122 (advice--add-function, advice-member-p): Use it (bug#14202).
11123
85c9ab64
AM
111242013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11125
11126 Reformulate java imenu-generic-expression.
11127 The old expression contained ill formed regexps.
11128
11129 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11130 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11131 (cc-imenu-java-method-arg-regexp): New defconsts.
11132 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 11133 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
11134 handling of spaces in the regexp.
11135
0f821d99
AM
111362013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11137
11138 * textmodes/ispell.el (ispell-command-loop): Remove
11139 flyspell highlight of a word when ispell accepts it (bug #14178).
11140
eb922adf
MA
111412013-04-15 Michael Albinus <michael.albinus@gmx.de>
11142
11143 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11144 uses code from the previous `ange-ftp-run-real-handler'.
11145 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11146 only in case that function exist. This is needed for proper
11147 unloading of Tramp.
11148
4d9a0979
TH
111492013-04-15 Tassilo Horn <tsdh@gnu.org>
11150
11151 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11152
11153 * textmodes/reftex.el (reftex-compile-variables): Use it.
11154
a829b0dc
SM
111552013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11156
91e8293c
SM
11157 * files.el (normal-mode): Only use default major-mode if no other mode
11158 was specified.
11159
830aed4d
SM
11160 * emacs-lisp/trace.el (trace-values): New function.
11161
a829b0dc
SM
11162 * files.el: Allow : in local variables (bug#14089).
11163 (hack-local-variable-regexp): New var.
11164 (hack-local-variables-prop-line, hack-local-variables): Use it.
11165
7ae9f0fb
RW
111662013-04-13 Roland Winkler <winkler@gnu.org>
11167
11168 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11169 data before it gets modified by bibtex-beginning-of-entry.
11170
6646e848
RW
111712013-04-13 Roland Winkler <winkler@gnu.org>
11172
11173 * textmodes/bibtex.el (bibtex-url): Doc fix.
11174
111752013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
11176
11177 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11178 does not visit a BibTeX file, exclude it from the list of buffers
11179 returned by bibtex-initialize.
11180
0aa3616e
SB
111812013-04-13 Stephen Berman <stephen.berman@gmx.net>
11182
11183 * window.el (split-window): Remove interactive form, since as a
11184 command this function is a special case of split-window-below.
11185 Correct doc string.
11186
011cddd6
RW
111872013-04-12 Roland Winkler <winkler@gnu.org>
11188
11189 * faces.el (read-face-name): Do not override value of arg default.
11190 Allow single faces and strings as default values. Remove those
11191 elements from return value that are not faces.
11192 (describe-face): Simplify.
11193 (face-at-point): New optional args thing and multiple so that this
11194 function can provide the same functionality previously provided by
11195 read-face-name.
11196 (make-face-bold, make-face-unbold, make-face-italic)
11197 (make-face-unitalic, make-face-bold-italic, invert-face)
11198 (modify-face, read-face-and-attribute): Use face-at-point.
11199
11200 * cus-edit.el (customize-face, customize-face-other-window)
11201 * cus-theme.el (custom-theme-add-face)
11202 * face-remap.el (buffer-face-set)
11203 * facemenu.el (facemenu-set-face): Use face-at-point.
11204
f24e0036
MA
112052013-04-12 Michael Albinus <michael.albinus@gmx.de>
11206
11207 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11208
da3cda2d
TH
112092013-04-10 Tassilo Horn <tsdh@gnu.org>
11210
11211 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11212 off leading { and trailing } from field values.
11213
15e54145
SM
112142013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11215
78ce603d
SM
11216 * emacs-lisp/timer.el (timer--check): New function.
11217 (timer--time, timer-set-function, timer-event-handler): Use it.
11218 (timer-set-idle-time): Simplify.
11219 (timer--activate): CSE.
11220 (timer-event-handler): Give more info in error message.
11221 (internal-timer-start-idle): New function, moved from C.
11222
15e54145
SM
11223 * mpc.el (mpc-proc): Add `restart' argument.
11224 (mpc-proc-cmd): Use it.
11225 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11226 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11227 less often.
11228
7144c627
MY
112292013-04-10 Masatake YAMATO <yamato@redhat.com>
11230
11231 * progmodes/sh-script.el: Implement `sh-mode' own
11232 `add-log-current-defun-function' (bug#14112).
11233 (sh-current-defun-name): New function.
11234 (sh-mode): Use the function.
11235
b39792eb
BG
112362013-04-09 Bastien Guerry <bzg@gnu.org>
11237
11238 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11239
8acdeb71
SM
112402013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11241
6fcdab68
SM
11242 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11243
8acdeb71
SM
11244 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11245 timer (bug#14156).
11246
e3e7b504
NF
112472013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11248
11249 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11250 declaration.
11251
201bb296
LL
112522013-04-07 Leo Liu <sdl.web@gmail.com>
11253
11254 * pcmpl-x.el: New file.
11255
ebb19708
DA
112562013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11257
11258 Do not set x-display-name until X connection is established.
11259 This is needed to prevent from weird situation described at
11260 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11261 * frame.el (make-frame): Set x-display-name after call to
11262 window system initialization function, not before.
11263 * term/x-win.el (x-initialize-window-system): Add optional
11264 display argument and use it.
11265 * term/w32-win.el (w32-initialize-window-system):
11266 * term/ns-win.el (ns-initialize-window-system):
11267 * term/pc-win.el (msdos-initialize-window-system):
11268 Add compatible optional display argument.
11269
33bb237a
EZ
112702013-04-06 Eli Zaretskii <eliz@gnu.org>
11271
11272 * files.el (normal-backup-enable-predicate): On MS-Windows and
11273 MS-DOS compare truenames of temporary-file-directory and of the
11274 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11275 don't fail comparison by compare-strings. Also, compare file
11276 names case-insensitively on MS-Windows and MS-DOS.
11277
134abf1f
SM
112782013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11279
11280 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11281 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11282
d695cb94
DG
112832013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11284
e3e7b504
NF
11285 * whitespace.el (whitespace-color-on, whitespace-color-off):
11286 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11287
f4ad7ea1 112882013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11289
11290 * ispell.el (ispell-set-spellchecker-params):
11291 Really set `ispell-args' for all equivs.
11292
632556e4
SM
112932013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11294
11295 * ido.el (ido-completions): Use extra elements of ido-decorations
11296 (bug#14143).
11297 (ido-decorations): Update docstring.
11298
2a417372
MA
112992013-04-05 Michael Albinus <michael.albinus@gmx.de>
11300
11301 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11302 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11303 nil during initialization, in order not to miss changes since the
11304 file was opened. (Bug#14140)
11305
fc164b0c
LL
113062013-04-05 Leo Liu <sdl.web@gmail.com>
11307
11308 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11309
0ccecc08
JB
113102013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11311
11312 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11313
51af1aa2
GM
113142013-04-04 Glenn Morris <rgm@gnu.org>
11315
11316 * electric.el (electric-pair-inhibit-predicate): Add :version.
11317
b208ebc6
SM
113182013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11319
11320 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11321 when a package is required several times (bug#14082).
11322
f3d3eaf0
RW
113232013-04-04 Roland Winkler <winkler@gnu.org>
11324
11325 * faces.el (read-face-name): Behave as promised by the docstring.
11326 Assume that arg default is a list of faces.
11327 (describe-face): Call read-face-name with list of default faces.
11328
2575da50
TV
113292013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11330
11331 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11332 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11333 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11334 the header.
11335 (bookmark-exit-hook-internal): Save even if list is empty.
11336
397703b4
YH
113372013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11338
11339 * emacs-lisp/package.el (package-pinned-packages): New var.
11340 (package--add-to-archive-contents): Obey it (bug#14118).
11341
691e26ae
AM
113422013-04-03 Alan Mackenzie <acm@muc.de>
11343
8a621d53
JB
11344 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11345 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11346
11347 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11348 parameter `not-in-delimiter'. Handle being inside comment opener.
11349 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11350 character in case we're typing a '*' after a '/'.
11351 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11352 instead by passing the parameter to c-state-pp-to-literal.
11353
11354 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11355 for elt. 7 of a parse state.
11356
4b725a70
PE
113572013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11358
11359 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11360 * international/latin1-disp.el, international/mule-util.el:
11361 * language/cyril-util.el, language/european.el, language/ind-util.el:
11362 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11363 * language/tibetan.el, language/viet-util.el:
11364 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11365
15c579f0
SM
113662013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11367
11368 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11369 (electric-pair-post-self-insert-function): Use it.
11370 (electric-pair-default-inhibit): New function, extracted from
11371 electric-pair-post-self-insert-function.
11372
a77e2924
RW
113732013-03-31 Roland Winkler <winkler@gnu.org>
11374
11375 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11376
2bd8a4a8
SM
113772013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11378
11379 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11380
8d3655be 113812013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11382
11383 Un-indent after "pass" and "return" statements (Bug#13888)
11384 * progmodes/python.el (python-indent-block-enders): New var.
11385 (python-indent-calculate-indentation): Use it.
11386
8d3655be 113872013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11388
11389 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11390 defun. Defining it as defalias could introduce too eager
11391 byte-compiler optimization. (Bug#14030)
11392
8d3655be 113932013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11394
11395 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11396
0b1619da
LL
113972013-03-30 Leo Liu <sdl.web@gmail.com>
11398
11399 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11400 (kmacro-execute-from-register): Pass the keyboard macro to
11401 kmacro-call-macro or repeating won't work correctly.
11402
0b938190
TZ
114032013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11404
11405 * progmodes/subword.el: Back to using `forward-symbol'.
11406
11407 * subr.el (forward-whitespace, forward-symbol)
11408 (forward-same-syntax): Move from thingatpt.el.
11409
35710234
LL
114102013-03-29 Leo Liu <sdl.web@gmail.com>
11411
11412 * kmacro.el (kmacro-to-register): New command.
11413 (kmacro-execute-from-register): New function.
11414 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11415
efc0bb73
SM
114162013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11417
11418 * mpc.el: Use defvar-local and setq-local.
11419 (mpc--proc-connect): Connection failures are not bugs.
11420 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11421 (mpc-volume-map): Bind to the up-events.
11422
75a2f981
TZ
114232013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11424
11425 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11426 instead of `forward-symbol'.
11427
17c781d1
SM
114282013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11429
11430 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11431 (edebug--recursive-edit): Use it.
11432 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11433 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11434
f67bfbcf
LL
114352013-03-28 Leo Liu <sdl.web@gmail.com>
11436
11437 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11438
b59f639d
EZ
114392013-03-27 Eli Zaretskii <eliz@gnu.org>
11440
11441 * facemenu.el (list-colors-callback): New defvar.
11442 (list-colors-redisplay): New function.
11443 (list-colors-display): Install list-colors-redisplay as the
11444 revert-buffer-function. (Bug#14063)
11445
f557c1b1
SM
114462013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11447
b1da2957
SM
11448 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11449 and suffixes don't overlap (bug#14061).
11450
f557c1b1
SM
11451 * case-table.el: Use lexical-binding.
11452 (case-table-get-table): New function.
11453 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11454
002668e1
TZ
114552013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11456
11457 * progmodes/subword.el: Add `superword-mode' to do word motion
11458 over symbol_words (parallels and leverages `subword-mode' which
11459 does word motion inside MixedCaseWords).
11460
73572c72
AG
114612013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11462
78b8f320 11463 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 11464 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 11465
69b2c07e
SM
114662013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11467
11468 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11469 Change return value to be a sexp. Delay `get-buffer' to after
11470 restoring the desktop (bug#13951).
11471
08bb5ee2
LL
114722013-03-26 Leo Liu <sdl.web@gmail.com>
11473
11474 * register.el: Move semantic tag handling back to
11475 cedet/semantic/senator.el. (Bug#14052)
11476
8d4c974e
SM
114772013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11478
11479 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11480 into the prompt either (bug#13963).
11481
b234d92c
SM
114822013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11483
11484 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11485 part of "(error-foo)".
11486
ddfa3cb4
JL
114872013-03-24 Juri Linkov <juri@jurta.org>
11488
11489 * replace.el (list-matching-lines-prefix-face): New defcustom.
11490 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11491 `occur-engine' if `face-differs-from-default-p' returns t.
11492 (occur-engine): Add `,' inside backquote construct to evaluate
11493 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11494 Pass `prefix-face' to the functions `occur-context-lines' and
11495 `occur-engine-add-prefix'.
11496 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11497 `prefix-face' and propertize the prefix with `prefix-face'.
11498 (Bug#14017)
11499
7b0e2f85
LL
115002013-03-24 Leo Liu <sdl.web@gmail.com>
11501
11502 * nxml/rng-valid.el (rng-validate-while-idle)
11503 (rng-validate-quick-while-idle): Guard against deleted buffer.
11504 (Bug#13999)
11505
11506 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11507 is the last entry in kill-buffer-hook.
11508
11509 * files.el (kill-buffer-hook): Doc fix.
11510
b3082f49
DG
115112013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11512
b234d92c
SM
11513 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11514 Make it safe-local.
bde73d27 11515
b3082f49
DG
11516 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11517
a320a2db
LL
115182013-03-23 Leo Liu <sdl.web@gmail.com>
11519
7e74b0fb
LL
11520 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11521 Remove.
11522
11523 * nxml/rng-valid.el (rng-validate-mode)
11524 (rng-after-change-function, rng-do-some-validation):
11525 * nxml/rng-maint.el (rng-validate-buffer):
11526 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11527 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11528 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11529 (nxml-extend-after-change-region): Use with-silent-modifications.
11530
a320a2db
LL
11531 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11532 timer-idle-list.
11533
11534 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11535 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11536 timer-idle-list. (Bug#13999)
11537
e38e6780
JL
115382013-03-23 Juri Linkov <juri@jurta.org>
11539
11540 * info.el (info-index-match): New face.
11541 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11542 main pattern and add text properties with the new face to matches
11543 in index entries relative to the beginning of the index entry.
11544 (Bug#14015)
11545
e8cc7880
DE
115462013-03-21 Eric Ludlam <zappo@gnu.org>
11547
11548 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11549 Inhibit read only while inserting objects.
11550
9bb0d822
TZ
115512013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11552
11553 * progmodes/cfengine.el: Update docs to mention
11554 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11555 symbol motion. Remove "_" from the word syntax.
11556
aa703640
TZ
115572013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11558
11559 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11560 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11561
afff09d0
JL
115622013-03-20 Juri Linkov <juri@jurta.org>
11563
11564 * info.el (Info-next-reference-or-link)
11565 (Info-prev-reference-or-link): New functions.
11566 (Info-next-reference, Info-prev-reference): Use them.
11567 (Info-try-follow-nearest-node): Handle footnote navigation.
11568 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11569
9a1ff164
SM
115702013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11571
11572 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11573 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11574
2667d15d
PE
115752013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11576
11577 Suppress unnecessary non-ASCII chatter during build process.
11578 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11579 (batch-skkdic-convert): Suppress most of the chatter.
11580 It's not needed so much now that machines are faster,
11581 and its non-ASCII component was confusing; see Dmitry Gutov in
11582 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11583
438b0579
LL
115842013-03-20 Leo Liu <sdl.web@gmail.com>
11585
11586 * ido.el (ido-chop): Fix bug#10994.
11587
c128ab07
DG
115882013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11589
11590 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11591 Remove vars.
9a1ff164
SM
11592 (whitespace-color-on, whitespace-color-off):
11593 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11594
0e6008c5
SM
115952013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11596
11597 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11598 remapping in mode-line.
11599 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11600
627b52b0
DG
116012013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11602
11603 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11604 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
11605 (whitespace-font-lock-keywords): Change description.
11606 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11607 the constructed keywords instead.
11608 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 11609
50c3a20b
LL
116102013-03-19 Leo Liu <sdl.web@gmail.com>
11611
11612 * progmodes/compile.el (compilation-display-error): New command.
11613 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11614 C-o. (Bug#13992)
11615
2aa2157b
PE
116162013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11617
11618 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11619
e477dbfa
JD
116202013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11621
11622 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11623
64ab82d1
MA
116242013-03-18 Michael Albinus <michael.albinus@gmx.de>
11625
11626 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11627
11628 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11629 * net/tramp-gvfs.el (top):
11630 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11631 (tramp-handle-shell-command): Use it.
11632 (tramp-dissect-file-name): Raise an error when hostname is a
11633 method name, and neither method nor user is specified.
11634
11635 * net/trampver.el: Update release number.
11636
33cef733
LL
116372013-03-18 Leo Liu <sdl.web@gmail.com>
11638
11639 Make sure eldoc can be turned off properly.
11640 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11641 eldoc-mode.
11642 (eldoc-display-message-p): Revert last change.
11643 (eldoc-display-message-no-interference-p)
11644 (eldoc-print-current-symbol-info): Tweak.
11645
2167b7b2
TH
116462013-03-18 Tassilo Horn <tsdh@gnu.org>
11647
11648 * doc-view.el (doc-view-new-window-function): Check the new window
11649 overlay's display property instead the char property of the
11650 buffer's first char. Use `with-selected-window' instead of
11651 `save-window-excursion' with `select-window'.
11652 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 11653 display property instead the char property of the buffer's first char.
2167b7b2 11654
982efbcd
PE
116552013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11656
11657 Automate the build of ja-dic.el (Bug#13984).
11658 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11659 from the input, rather than assume that it's been done for us by the
11660 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11661 the current date into a ja-dic.el comment, as that complicates
11662 regression testing.
11663
2fcc7665
SM
116642013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11665
11666 * whitespace.el: Fix double evaluation.
11667 (whitespace-space, whitespace-hspace, whitespace-tab)
11668 (whitespace-newline, whitespace-trailing, whitespace-line)
11669 (whitespace-space-before-tab, whitespace-indentation)
11670 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11671 obsolete defvars.
11672 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11673 (whitespace-color-on): Use a single font-lock-add-keywords call.
11674 Fix double-evaluation of face variables.
11675
67c0a6e6
MA
116762013-03-17 Michael Albinus <michael.albinus@gmx.de>
11677
2fcc7665
SM
11678 * net/tramp-adb.el (tramp-adb-parse-device-names):
11679 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 11680 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 11681
69489f1d
LL
116822013-03-17 Leo Liu <sdl.web@gmail.com>
11683
11684 Extend eldoc to display info in the mode-line. (Bug#13978)
11685 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11686 (eldoc-mode-line-string): New variable.
11687 (eldoc-minibuffer-message): New function.
11688 (eldoc-message-function): New variable.
11689 (eldoc-message): Use it.
11690 (eldoc-display-message-p)
2fcc7665
SM
11691 (eldoc-display-message-no-interference-p):
11692 Support eldoc-post-insert-mode.
69489f1d
LL
11693
11694 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11695 (eval-expression): Run it.
11696
9c44569e
RW
116972013-03-17 Roland Winkler <winkler@gnu.org>
11698
11699 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11700 strings in the list of return values.
11701
327f1f6f
JB
117022013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11703
11704 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11705 radix before checking for HMS forms.
11706
67ed8fcd
LL
117072013-03-16 Leo Liu <sdl.web@gmail.com>
11708
11709 * progmodes/scheme.el: Add indentation and font-locking for λ.
11710 (Bug#13975)
11711
78be8b64 117122013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11713
11714 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11715 token before point (bug#13942).
11716
78be8b64 117172013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11718
95b43468 11719 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11720
98e775e6
EZ
117212013-03-16 Eli Zaretskii <eliz@gnu.org>
11722
11723 * startup.el (command-line-normalize-file-name): Fix handling of
11724 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11725 <xfq.free@gmail.com> in
11726 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11727
2edd6029
MA
117282013-03-15 Michael Albinus <michael.albinus@gmx.de>
11729
11730 Sync with Tramp 2.2.7.
11731
11732 * net/trampver.el: Update release number.
11733
d35f5864
TH
117342013-03-14 Tassilo Horn <tsdh@gnu.org>
11735
e903c210 11736 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11737 (doc-view-insert-image): Don't modify overlay associated to
11738 non-live windows, and implement horizontal centering of image in
11739 case it's smaller than the window.
11740 (doc-view-new-window-function): Force redisplay of new windows on
11741 doc-view buffers.
d35f5864 11742
1c4a85ed
KF
117432013-03-13 Karl Fogel <kfogel@red-bean.com>
11744
11745 * saveplace.el (save-place-alist-to-file): Don't sort
11746 `save-place-alist', just pretty-print it (bug#13882).
11747
85b66a21
MA
117482013-03-13 Michael Albinus <michael.albinus@gmx.de>
11749
a020afb9
JB
11750 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11751 Check whether `default-file-name-coding-system' is bound.
11752 It isn't in XEmacs.
85b66a21 11753
175600da
SM
117542013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11755
e7f7cb1a
SM
11756 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11757 backquotes for `obsolete' (bug#13929).
11758
175600da
SM
11759 * international/mule.el (find-auto-coding): Include file name in
11760 obsolescence warning (bug#13922).
11761
ca68a22e
TZ
117622013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11763
11764 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11765 for CFEngine 3-specific indentation.
11766 (cfengine3-indent-line): Use it. Fix up category regex.
11767 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11768
940e5099
SM
117692013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11770
11771 * type-break.el (type-break-file-name):
11772 * textmodes/remember.el (remember-data-file):
11773 * strokes.el (strokes-file):
11774 * shadowfile.el (shadow-initialize):
11775 * saveplace.el (save-place-file):
11776 * ps-bdf.el (bdf-cache-file):
11777 * progmodes/idlwave.el (idlwave-config-directory):
11778 * net/quickurl.el (quickurl-url-file):
11779 * international/kkc.el (kkc-init-file-name):
11780 * ido.el (ido-save-directory-list-file):
11781 * emulation/viper.el (viper-custom-file-name):
11782 * emulation/vip.el (vip-startup-file):
11783 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11784 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11785
cc725808
PE
117862013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11787
11788 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11789 * language/thai-word.el: Switch to UTF-8.
11790
a020afb9 11791See ChangeLog.16 for earlier changes.
e3d51b27
MR
11792
11793;; Local Variables:
11794;; coding: utf-8
e3d51b27
MR
11795;; End:
11796
ab422c4d 11797 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
11798
11799 This file is part of GNU Emacs.
11800
11801 GNU Emacs is free software: you can redistribute it and/or modify
11802 it under the terms of the GNU General Public License as published by
11803 the Free Software Foundation, either version 3 of the License, or
11804 (at your option) any later version.
11805
11806 GNU Emacs is distributed in the hope that it will be useful,
11807 but WITHOUT ANY WARRANTY; without even the implied warranty of
11808 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11809 GNU General Public License for more details.
11810
11811 You should have received a copy of the GNU General Public License
11812 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.