Juanma Barranquero
b3e945d3a4
Silence warning for unused `dotimes' counter variables.
...
* mpc.el (mpc-select-extend, mpc-songpointer-context):
* vc/log-view.el (log-view-beginning-of-defun):
* vc/smerge-mode.el (smerge-apply-resolution-patch)
(smerge-refine-forward, smerge-refine-chopup-region):
2011-06-02 13:24:12 +02:00
Juanma Barranquero
135377f157
Fix typos in comments.
2011-04-08 01:59:27 +02:00
Juanma Barranquero
2fbc1934ae
Convert some .el files to lexical scoping.
...
* bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
(bs--get-marked-string, bs--get-modified-string)
(bs--get-readonly-string, bs--get-size-string, bs--get-name)
(bs--get-mode-name, bs--get-file-name): Mark unused arguments.
(bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
* ehelp.el (electric-help-execute-extended)
(electric-help-ctrl-x-prefix):
* hexl.el (hexl-revert-buffer-function):
* linum.el (linum-after-change, linum-after-scroll):
* emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
* help-fns.el (help-describe-category-set): Remove unused ERR variable.
2011-04-04 11:35:16 +02:00
Chong Yidong
aca6915a1d
Minor commentary fix (Bug#8024).
2011-02-12 17:23:06 -05:00
Glenn Morris
73b0cd5003
Convert consecutive FSF copyright years to ranges.
2011-01-24 20:08:28 -08:00
Glenn Morris
0d9f702fd0
Nuke arch-tags.
2011-01-15 15:16:57 -08:00
Stefan Monnier
77ab81d054
Merge from emacs-23
2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3
Add 2011 to FSF/AIST copyright years.
2011-01-02 15:50:46 -08:00
Chong Yidong
2ec1b5ee34
Merge changes from emacs-23 branch.
2010-07-10 14:52:53 -04:00
Yoni Rabkin
29115ca9b0
Minor bs.el font-lock change.
...
* lisp/bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired
pattern, since it is not present when using some non-default switches.
2010-06-23 23:30:51 -07:00
Stefan Monnier
d355a0b791
Replace Lisp calls to delete-backward-char by delete-char.
...
* bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
skeleton.el, term.el, time.el, wid-edit.el, woman.el,
calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
calc/calc.el, emacs-cl-extra.el, emacs-cl-loaddefs.el,
emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
progmodes/ps-mode.el, progmodes/verilog-mode.el,
progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
delete-backward-char by calls to delete-char.
2010-05-24 22:11:08 -04:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Juanma Barranquero
1e7a80f247
* bs.el (bs-mode): Fix last change. (`revert-buffer-function'
...
should be automatically buffer-local, but isn't.)
2009-10-13 01:13:08 +00:00
Juanma Barranquero
fa72d07524
* bs.el (bs-mode): Set revert-buffer-function' to
bs-refresh'.
...
(bs-refresh): Add IGNORED arg for `revert-buffer' compatibility. Doc fix.
2009-10-12 04:57:46 +00:00
Juanma Barranquero
027b19421d
* bs.el (bs--get-file-name): Use `list-buffers-directory'
...
when available, instead of hardcoding mode names. Doc fix.
2009-09-25 04:46:34 +00:00
Glenn Morris
e6ce8c4239
Use forward-line rather than goto-line.
2009-08-22 19:29:18 +00:00
Juanma Barranquero
e600eb79f4
* bs.el (bs--down):
...
* ibuffer.el (ibuffer-redisplay-engine): Use `point-min' instead of 1.
2009-02-25 20:33:19 +00:00
Juanma Barranquero
936934f5e0
* bs.el (bs--down): When wrapping around, use `forward-line',
...
not `goto-line', to avoid distracting "Mark set" message.
2009-02-23 15:27:40 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Juanma Barranquero
c4384ef148
* bs.el (bs-unload-function): New function.
2008-10-08 09:02:28 +00:00
Stefan Monnier
3af36712d1
Paren typo.
2008-06-25 15:15:39 +00:00
Stefan Monnier
70ef885744
* buff-menu.el: Use with-current-buffer and inhibit-read-only.
...
(Buffer-menu-toggle-read-only): Avoid vc-toggle-read-only.
* bs.el: Use with-current-buffer. Simplify.
(bs-toggle-readonly): Avoid vc-toggle-read-only.
2008-06-25 15:13:03 +00:00
Glenn Morris
eb3fa2cfcf
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 08:06:51 +00:00
Juanma Barranquero
c2699583be
(bs--get-mode-name): Fix typo in previous change.
2008-01-04 13:04:00 +00:00
Stefan Monnier
48d33090d0
* erc-ibuffer.el (erc-channel-modes):
...
* bs.el (bs--sort-by-mode, bs--get-mode-name):
* imenu.el (imenu-add-to-menubar):
* makesum.el (make-command-summary):
* mouse.el (mouse-major-mode-menu, mouse-popup-menubar, mouse-buffer-menu):
* msb.el (msb--mode-menu-cond):
* calc/calc-embed.el (calc-do-embedded):
* emacs-lisp/helper.el (Helper-describe-mode):
* mail/emacsbug.el (report-emacs-bug):
* progmodes/hideshow.el (hs-grok-mode-type):
* textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
* textmodes/table.el (*table--cell-describe-mode):
Pass mode-name through format-mode-line.
2008-01-04 06:29:12 +00:00
Miles Bader
fdc9061358
Merge from emacs--rel--22
...
Patches applied:
* emacs--rel--22 (patch 131-137)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 261-262)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-908
2007-10-27 09:07:17 +00:00
Juanma Barranquero
de302d454b
(bs-select, bs-select-other-window): Fix typos in docstrings.
2007-10-24 02:09:45 +00:00
Miles Bader
f76840f36c
Merge from emacs--rel--22
...
Patches applied:
* emacs--rel--22 (patch 129-130)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 259-260)
- Merge from emacs--rel--22
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-900
2007-10-20 02:21:09 +00:00
Juanma Barranquero
3161fb9c7b
*** empty log message ***
2007-10-19 15:01:28 +00:00
Juanma Barranquero
5c74246048
(bs-mode): Set mode-class property to special.
2007-10-19 14:51:12 +00:00
Juanma Barranquero
74a6d92788
(bs--track-window-changes): Don't refresh the whole list.
2007-10-19 11:07:17 +00:00
Juanma Barranquero
8db4312651
(bs-mode): Set hooks (accidentally left out in the previous commit).
2007-10-16 10:57:28 +00:00
Juanma Barranquero
e7a4eaadf2
(bs--window-config-coming-from): Revert 2006-11-09 change.
...
(bs--restore-window-config): Keep the selected frame.
(bs--track-window-changes, bs--remove-hooks): New functions.
(bs-mode): Use `define-derived-mode'. Set hook to track window changes.
(bs--show-with-configuration): Revert 2006-11-09 change.
Don't reuse window unless it is visible on the selected frame.
Restore window configuration (possibly in a different frame)
before creating any window.
2007-10-16 10:52:09 +00:00
Juanma Barranquero
e749f5762b
(bs--make-header-match-string, bs-show-in-buffer, bs--nth-wrapper): Simplify.
...
(bs-select, bs--insert-one-entry): Simplify. Use `when'.
(bs-buffer-list): Simplify. Use `when'. Use `string-match-p'.
(bs-sort-buffer-interns-are-last): Use `string-match-p'.
(bs-attributes-list, bs-max-window-height, bs-must-always-show-regexp,
bs-maximal-buffer-name-column, bs-minimal-buffer-name-column, bs-configurations,
bs-default-configuration, bs-alternative-configuration,
bs-cycle-configuration-name, bs-string-show-always, bs-string-show-never,
bs-string-current, bs-string-current-marked, bs-string-marked,
bs-string-show-normally, bs-sort-functions, bs-default-sort-name):
Remove * in docstrings.
(bs--redisplay, bs--goto-current-buffer, bs--current-buffer, bs-delete,
bs-apply-sort-faces, bs-next-config-aux): Use `when'.
(bs--window-config-coming-from): Revert 2006-11-09 change.
(bs--restore-window-config): Keep the selected frame.
(bs--track-window-changes, bs--remove-hooks): New functions.
(bs-mode): Use `define-derived-mode'. Set hook to track window changes.
(bs--create-header): Remove.
(bs--create-header-line): New function, based on `bs--create-header'.
(bs--show-header): Use `bs--create-header-line'.
(bs--show-with-configuration): Revert 2006-11-09 change.
Don't reuse window unless it is visible on the selected frame.
Restore window configuration (possibly in a different frame)
before creating any window.
2007-10-16 10:40:02 +00:00
Juanma Barranquero
3d5aef7694
(bs--mark-unmark): New function.
...
(bs-mark-current, bs-unmark-current): Use it.
2007-10-11 16:10:26 +00:00
Juanma Barranquero
5a25a89581
(bs-mode): Make sure global-font-lock-mode doesn't activate
...
font-locking in the *buffer-selection* buffer.
(bs-show-sorted): Doc fix.
2007-10-05 15:42:54 +00:00
Juanma Barranquero
462db93c4c
(bs--get-marked-string, bs--get-modified-string, bs--get-readonly-string,
...
bs--get-size-string, bs--get-name, bs--get-mode-name, bs-mode):
Fix typos in docstrings.
(bs--format-aux): Doc fix.
2007-10-05 09:50:37 +00:00
Juanma Barranquero
b75ccc22ae
(bs-string-show-normally, bs-sort-functions, bs--get-file-name):
...
Fix typos in docstrings.
(bs-buffer-sort-function, bs-mouse-select-other-frame, bs-visits-non-file,
bs-sort-buffer-interns-are-last, bs-show): Doc fixes.
2007-10-03 16:43:10 +00:00
Juanma Barranquero
6af00b6740
(bs-kill): Fix typo in docstring.
2007-10-03 11:43:43 +00:00
Juanma Barranquero
e0d0133a4a
Don't defvar `fontlock-verbose'.
...
(bs-config-clear): Fix typo in docstring.
(bs--show-header): Use `dolist' instead of `mapcar'.
(bs-mode): Set `show-trailing-whitespace' to nil.
2007-10-03 11:12:20 +00:00
Glenn Morris
b4aa60262c
Switch license to GPLv3 or later.
2007-07-25 04:50:21 +00:00
Chong Yidong
b49bf494d2
(bs-cycle-previous): Don't modify the cycle list until
...
`switch-to-buffer' has returned succesfully.
(bs-cycle-next): Ditto. Also, don't bury the buffer when the
window is dedicated (it could iconify the frame).
2007-06-05 15:59:15 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
Michaël Cadilhac
90dd8ef0a8
(bs--up): Remove interactive spec.
2006-12-24 17:31:20 +00:00
Juanma Barranquero
edf6fbc5f7
(bs--window-for-buffer): Remove.
...
(bs--show-with-configuration): Use `get-window-with-predicate' instead of
`bs--window-for-buffer'.
2006-11-10 01:36:05 +00:00
Juanma Barranquero
ce3ba12c88
(bs--redisplay): Fix typo in docstring.
...
(bs--window-config-coming-from): Make frame-local.
(bs--restore-window-config): New function.
(bs-kill, bs-select, bs-select-other-window, bs-select-other-frame): Use it.
(bs--show-with-configuration): Save the window configuration as a frame local
var, and only if *buffer-selection* is not already visible on this frame.
(bs--window-for-buffer): Return as soon as a matching buffer is found.
2006-11-09 16:35:48 +00:00
Juanma Barranquero
aaf08d6bb1
(bs--show-all, bs--redisplay): Use "non-nil" in docstrings.
2006-11-03 15:05:44 +00:00
Juanma Barranquero
310a26be62
(bs-mode): Use `buffer-disable-undo'.
...
(bs--get-file-name): Simplify.
(bs-show-in-buffer): Mark the buffer as not modified.
2006-02-15 11:10:56 +00:00
Thien-Thi Nguyen
aaef169dc6
Update years in copyright notice; nfc.
2006-02-06 15:23:23 +00:00
Juanma Barranquero
ca6b8248f7
Allow non-default values of `bs-header-lines-length'.
...
(bs--running-in-xemacs): Remove (not used anymore).
(bs--set-window-height): Simplify by using `fit-window-to-buffer' instead of
`shrink-window', thus avoiding having to compute the height of the window.
(bs--up): Wrap around even when there's no header.
(bs--down): Use `forward-line' instead of `next-line'.
2006-01-31 16:32:00 +00:00