1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-24 10:38:38 +00:00
Commit Graph

49 Commits

Author SHA1 Message Date
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Lute Kamstra
9201cc281b * align.el:
* allout.el:
* apropos.el:
* arc-mode.el:
* autoinsert.el:
* avoid.el:
* battery.el:
* bookmark.el:
* buff-menu.el:
* calculator.el:
* chistory.el:
* cmuscheme.el:
* comint.el:
* compare-w.el:
* dabbrev.el:
* delim-col.el:
* desktop.el:
* diff-mode.el:
* diff.el:
* dired-aux.el:
* dired-x.el:
* dired.el:
* dos-vars.el:
* ediff-diff.el:
* ediff-help.el:
* ediff-init.el:
* ediff-merg.el:
* ediff-mult.el:
* ediff-ptch.el:
* ediff-vers.el:
* ediff-wind.el:
* ediff.el:
* emerge.el:
* facemenu.el:
* faces.el:
* ffap.el:
* filecache.el:
* find-dired.el:
* font-core.el:
* font-lock.el:
* forms.el:
* fringe.el:
* help-at-pt.el:
* hippie-exp.el:
* ido.el:
* image-file.el:
* imenu.el:
* indent.el:
* info.el:
* isearchb.el:
* iswitchb.el:
* jit-lock.el:
* jka-compr.el:
* log-edit.el:
* lpr.el:
* ls-lisp.el:
* man.el:
* menu-bar.el:
* midnight.el:
* mouse-sel.el:
* mouse.el:
* msb.el:
* outline.el:
* paren.el:
* pcmpl-cvs.el:
* pcmpl-gnu.el:
* pcomplete.el:
* pcvs-info.el:
* pcvs-parse.el:
* printing.el:
* ps-mule.el:
* ps-print.el:
* replace.el:
* ruler-mode.el:
* saveplace.el:
* sb-image.el:
* scroll-bar.el:
* sha1.el:
* shadowfile.el:
* shell.el:
* sort.el:
* speedbar.el:
* strokes.el:
* tempo.el:
* term.el:
* terminal.el:
* time-stamp.el:
* time.el:
* tree-widget.el:
* type-break.el:
* vc-cvs.el:
* vc-hg.el:
* vc-mcvs.el:
* vc-rcs.el:
* vc-sccs.el:
* vc.el:
* view.el:
* w32-vars.el:
* whitespace.el:
* wid-edit.el: Remove leading * from docstrings of defcustoms,
deffaces, defconsts and defuns.
2008-12-03 05:48:14 +00:00
Chong Yidong
3660b4f5fe (battery-echo-area-format, battery-status-function):
Handle new Linux sysfs format for battery reporting.
(battery-linux-sysfs): New function.
2008-08-08 17:46:49 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Jason Rumney
20d4381e4b (battery-status-function): Use w32-battery-status on Windows.
(battery-echo-area-format): Make apm format the general case.
(battery-mode-line-format): Merge apm and pmset formats as the
general case.
2008-04-29 00:59:37 +00:00
Juri Linkov
d4919479f9 Add file cookie coding:iso-8859-1 for the degree sign
in battery-mode-line-format.
2008-03-25 21:50:45 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Richard M. Stallman
b8e3d88f58 (battery-linux-proc-acpi): Use ignore-errors around calls to directory-files. 2007-01-10 01:20:10 +00:00
Juanma Barranquero
f14bbeeb0a (battery-search-for-one-match-in-files): Fix typo in docstring. 2007-01-08 23:00:24 +00:00
Romain Francoise
785428c709 2006-11-05 Micha�Cadilhac <michael.cadilhac@lrde.org>
* battery.el (battery-linux-proc-acpi): Search an ac_adapter in
	`/proc/acpi/ac_adapter/*'.  Ditto for the thermometers in
	`/proc/acpi/thermal_zone/*'.
	(battery-search-for-one-match-in-files): New.  Search a regexp in
	the content of some files.
2006-11-05 13:22:30 +00:00
Chong Yidong
5c79f850e1 * battery.el (battery-linux-proc-acpi): Prevent range error when
`full-capacity' is 0.
2006-11-01 14:24:37 +00:00
Juri Linkov
9b46a12cd5 (battery-linux-proc-acpi): Also try `/proc/acpi/thermal_zone/THR2/temperature'. 2006-05-09 22:43:35 +00:00
Juri Linkov
c93b1b4b30 (battery-linux-proc-acpi): Check `capacity' for non-nil
before comparing with `low' and `warn'.
2006-03-11 22:34:46 +00:00
Richard M. Stallman
76815b2a6d (battery-echo-area-format): Doc fix.
(battery-mode-line-format): Likewise.
(battery-linux-proc-apm, battery-linux-proc-acpi): Likewise.
(battery-linux-proc-acpi): Ignore batteries that say "charged".
2006-03-11 15:08:42 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Richard M. Stallman
d0600240da (battery-linux-proc-acpi): Handle "last full capacity". 2006-01-19 17:49:13 +00:00
Romain Francoise
180a447376 (battery-linux-proc-acpi): Also try
`/proc/acpi/thermal_zone/THM0/temperature'.
2005-12-25 14:09:57 +00:00
Lute Kamstra
248634e90d (battery-status-function): Don't use ignore-errors. 2005-08-11 13:28:47 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Lute Kamstra
71d211982a Add support for Darwin (with much debugging help from Samuel Lauber
<sam124@operamail.com>).
(battery-status-function, battery-echo-area-format)
(battery-mode-line-format): Add support for pmset on Darwin.
(battery-load-low, battery-load-critical): New user options.
(battery-pmset): New function.
2005-07-05 08:14:42 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Lute Kamstra
12d6b12433 (battery-linux-proc-apm): Fix typo in docstring.
Catch errors with ignore-errors.  Use temporary buffer.
(battery-linux-proc-acpi): Fix typo in docstring.  Document `%r'.
2005-07-01 11:03:19 +00:00
Lute Kamstra
62631b2cae (display-battery-mode): Specify :group. 2005-04-04 08:53:15 +00:00
Stefan Monnier
73a6a97294 (display-battery-mode): Rename from display-battery.
Handle the case where it gets turned off.
2005-01-04 21:15:09 +00:00
Richard M. Stallman
f4c4fc7494 (battery-mode-line-format): Remove initial spaces. 2004-12-27 16:40:50 +00:00
Stefan Monnier
0f4a15f89c (battery-linux-proc-apm): Use string-to-number.
(battery-linux-proc-acpi): Ignore all hidden files in the battery dir.
Use dolist (and less indentation).  Use erase-buffer.
Pre-initialize `design-capacity', `warn', and `low'.
(battery-format): Use replace-regexp-in-string.
2004-09-18 21:33:44 +00:00
Eli Zaretskii
d66fe3340c Delete superfluous empty lines.
(battery-linux-proc-acpi): Attempt to gather information from all
battery subdirectories regardless of their file name.
(battery-linux-proc-apm): Replace all occurrences of
battery-hex-to-int-2 with string-to-int (base 16).
(battery-hex-to-int-2, battery-hex-to-int): Delete functions.
(battery-hex-map): Delete variable.
2004-09-18 11:50:18 +00:00
Eli Zaretskii
bed6d70874 (battery-linux-proc-acpi): Look into battery
directories matching the literal string "CMB", too (required for
Linux kernel version 2.6.7).
2004-08-14 12:21:03 +00:00
Eli Zaretskii
062db3ecf4 (battery-linux-proc-acpi): mA was hardcored, but some
systems appear to use mW, make the code handle this.  Fix a
division-by-zero bug while at it, and handle kernels with
a slightly different layout in /proc/acpi.
2004-06-04 16:05:56 +00:00
Alex Schroeder
dce78214fe 2003-09-10 Mario Lang <mlang@delysid.org>
Update Commentary and Copyright.
(battery-linux-proc-acpi): Fix a bug in %b which made "!" never
appear due to wrong ordering of the expressions in `or'.
2003-09-10 19:51:01 +00:00
Eli Zaretskii
2b3cb60aab (battery-linux-proc-acpi): New function.
(battery-status-function): Modified default value calculation to also
check for availability of ACPI.
(battery-echo-area-format): Ditto.
(battery-mode-line-format): Ditto.
2003-09-06 19:28:08 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Noah Friedman
440c4d7aa8 (battery-insert-file-contents): Obsolete function removed.
(battery-read-function): Obsolete function removed.
(battery-linux-proc-apm): Use insert-file-contents.
2001-12-10 10:22:22 +00:00
Pavel Janík
e3601cf621 Fix typo. 2001-08-08 20:11:46 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Gerd Moellmann
0f60e5ffda (battery-update): Add help-echo.
From Pavel Jan,Bm(Bk <Pavel@Janik.cz>.
2001-07-05 13:36:03 +00:00
Dave Love
681e6b4b6b (battery-status-function): Fix doc, :type. 2001-02-15 00:10:06 +00:00
Miles Bader
862a7e281e (display-battery): Use `add-to-list'. 2000-10-10 02:48:40 +00:00
Thien-Thi Nguyen
5a430f9cb6 (display-battery): Doc spelling fix. 2000-10-10 01:36:36 +00:00
Gerd Moellmann
3b36190124 Change author's mail address. 2000-07-07 13:01:49 +00:00
Gerd Moellmann
b624447c44 (battery): Doc fix. 1999-12-14 10:19:59 +00:00
Richard M. Stallman
3691e056ac (battery-linux-proc-apm): Re-use the temporary buffer.
(battery-insert-file-contents): Disable code conversion.
1998-03-30 04:39:53 +00:00
Stephen Eglen
4bef911093 Customized. 1998-03-07 18:19:38 +00:00
Richard M. Stallman
1720e5081c Fixed spelling of `autoload' magic cookies. 1998-03-06 17:45:55 +00:00
Karl Heuer
d5323ba0c2 (battery-linux-proc-apm-regexp): Load percentage
and remaining time have to match negative values.
(battery-linux-proc-apm): Initialize void %-sequences.
1998-02-25 22:44:24 +00:00
Richard M. Stallman
f12b0b967a Fix copyright and copying permissions. 1997-07-09 00:29:46 +00:00
Richard M. Stallman
6b27974068 Initial revision 1997-06-22 20:08:32 +00:00