1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-28 02:40:46 -08:00
Commit graph

108502 commits

Author SHA1 Message Date
Glenn Morris
27359e9976 ChangeLog fix 2012-10-06 12:50:29 -07:00
Glenn Morris
f1f4dba09f Rename a new cal-tex function, document it
* lisp/calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
(cal-tex-cursor-week2, cal-tex-cursor-week-iso)
(cal-tex-cursor-week-monday): Doc fixes.
(cal-tex-cursor-week2-summary): Doc fix.
Rename from cal-tex-cursor-week-at-a-glance.

* lisp/calendar/calendar.el (calendar-mode-map):
Add cal-tex-cursor-week2-summary.

* lisp/calendar/cal-menu.el (cal-menu-context-mouse-menu):
Tweak week descriptions.  Add cal-tex-cursor-week2-summary.

* doc/emacs/calendar.texi (Writing Calendar Files): Tweak week descriptions.
Mention cal-tex-cursor-week2-summary.
2012-10-06 11:34:23 -07:00
Stefan Monnier
685f87b00f * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring. 2012-10-06 13:34:57 -04:00
Jan Djärv
04fafa4675 Handle fullscreen parameter in initial/defult-frame-alist for NS.
* nsfns.m (Fx_create_frame): Call x_default_parameter with
fullscreen/Fullscreen.

* nsterm.h (EmacsView): Rename tbar_height to tibar_height.
tobar_height is new.

* nsterm.m (x_make_frame_visible): Check for fullscreen.
(ns_fullscreen_hook): Activate old style fullscreen with a timer.
(ns_term_init): Set activateIgnoringOtherApps if old style fullscreen.
(windowDidResize:): Check for correct window if old style fullscreen.
Capitalize word in comment.  Remove incorrect comment.
(initFrameFromEmacs:): tbar_height renamed tibar_height.
(windowDidEnterFullScreen:): Toggle toolbar for fullscreen to fix
error in drawing background.
(toggleFullScreen:): Remove comment. Rearrange calls.
Set toolbar values to zero, save old height in tobar_height.
Restore tool bar height when leaving fullscreen.
(canBecomeMainWindow): New function.
2012-10-06 19:31:11 +02:00
Stefan Monnier
d39109c3e1 * lisp/subr.el (read-passwd-map): New var.
(read-passwd): Use `read-string' again.
* lisp/minibuffer.el (delete-minibuffer-contents): Make it interactive.
2012-10-06 13:29:15 -04:00
Jambunathan K
5694896dfc * lisp/register.el (append-to-register, prepend-to-register):
Deactivate mark, as does `copy-to-register'.

Fixes: debbugs:12389
2012-10-06 13:16:26 -04:00
Glenn Morris
50d92e32c2 Fix previous read-passwd change 2012-10-06 09:59:01 -07:00
Chong Yidong
0db901c17a Update for admin/grammars/README. 2012-10-06 22:22:31 +08:00
Chong Yidong
9414dd8d50 Move bovine-grammar and wisent-grammar into lisp/ directory.
* lisp/files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).

* cedet/semantic/bovine/grammar.el:
* cedet/semantic/wisent/grammar.el: Move from admin/grammars.  Add
autoloads for bovine-grammar-mode and wisent-grammar-mode.
2012-10-06 22:18:35 +08:00
Chong Yidong
c6b68a2899 * doc/emacs/mini.texi (Passwords): Fix typo. 2012-10-06 22:18:03 +08:00
Kenichi Handa
16ddec7e9e merge trunk 2012-10-06 21:55:09 +09:00
Kenichi Handa
2b89bca49d international/characters.el: Fix simple mistake ((car chars) -> elt), delete duplicated code. 2012-10-06 21:35:04 +09:00
Glenn Morris
d5acb99a19 * subr.el (read-passwd): Allow C-u to erase entry.
Fixes: debbugs:12570
2012-10-05 19:47:26 -07:00
Julian Scheid
123ec15769 color-hsl-to-rgb fix (tiny change)
* lisp/color.el (color-hsl-to-rgb): Fix incorrect results for small
and large hue values.

Fixes: debbugs:12559
2012-10-05 19:20:36 -07:00
Glenn Morris
24636b2633 Remove outdated information from ERC manual
* doc/misc/erc.texi: Include emacsver.texi, and use EMACSVER rather than
ERC version.
(Introduction): ERC is distributed with Emacs.
(Obtaining ERC, Installation): Remove chapters, no longer relevant.
(Getting Started): Simplify.
(Getting Help and Reporting Bugs): Refer to general Emacs lists.
(History): Mention ERC maintained as part of Emacs now.

* doc/misc/Makefile.in ($(buildinfodir)/erc$(INFO_EXT), erc.dvi, erc.pdf):
Add dependency on emacsver.texi.
2012-10-05 21:42:02 -04:00
Glenn Morris
a03bb33fb0 * doc/misc/erc.texi: Remove hand-written node pointers. 2012-10-05 21:13:01 -04:00
Glenn Morris
df5d5f59f2 Set maintainer of most lisp/erc/*.el files to FSF
Ref: http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-10/msg00200.html
2012-10-05 21:04:53 -04:00
Paul Eggert
c6e21c0323 * keyboard.c (read_char): Remove unnecessary 'volatile's and label. 2012-10-05 17:52:17 -07:00
Glenn Morris
58eaa9ec4c Comment 2012-10-05 20:44:36 -04:00
Ulrich Mueller
150798c5ac Let configure set ar and associated flags
* lwlib/Makefile.in (AR, ARFLAGS):
* oldXMenu/Makefile.in (AR, ARFLAGS): Get values from configure.

Fixes: debbugs:12549
2012-10-05 20:42:28 -04:00
Fabián Ezequiel Gallina
7fa36ccb71 Enhancements to docstring formatting when filling paragraphs.
* progmodes/python.el (python-fill-docstring-style): Rename from
python-fill-string-style.  Added new style.
(python-fill-string): Use new style.  Better checks for
docstrings.
2012-10-05 10:42:08 -03:00
Eli Zaretskii
a65fbb5f0e Fix a typo in a w32proc.c declaration.
src/w32proc.c (stop_timer_thread): Fix declaration of 'err'.
2012-10-05 13:19:58 +02:00
Eli Zaretskii
0ace05d38a Improve commentary for the last commit. 2012-10-05 11:21:51 +02:00
Eli Zaretskii
0d9f584b2c Support setting file times of directories on MS-Windows.
src/w32.c (utime): Open the file with FILE_FLAG_BACKUP_SEMANTICS, so
 that time stamps of directories could also be changed.  Don't
 request the too broad GENERIC_WRITE, only the more restrictive
 FILE_WRITE_ATTRIBUTES access rights.
 src/fileio.c (Fset_file_times): Special-case ignoring errors for
 directories only on MSDOS, not on MS-Windows.
2012-10-05 11:17:17 +02:00
Chong Yidong
379acb9514 * minibuf.texi (Basic Completion): Clarify list form of completion table.
Fixes: debbugs:12564
2012-10-05 15:48:25 +08:00
Glenn Morris
e8757f091a Merge from emacs-24; up to 2012-05-08T14:11:47Z!monnier@iro.umontreal.ca 2012-10-05 00:38:05 -07:00
Glenn Morris
d259be3835 * newsticker.texi (Overview, Requirements, Usage, Configuration): Copyedits. 2012-10-05 00:34:10 -07:00
Glenn Morris
204f3953f9 * lisp/net/newst-treeview.el (newsticker-group-move-feed): Doc fix. 2012-10-05 00:25:04 -07:00
Glenn Morris
d8788e1e6f Doc fixes
* lisp/color.el (color-name-to-rgb, color-rgb-to-hex)
(color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
(color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
(color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
(color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.

Fixes: debbugs:12558
2012-10-05 00:17:23 -07:00
Glenn Morris
677c110942 Doc typo fixes 2012-10-04 23:50:23 -07:00
Paul Eggert
735135f9bc Spelling fixes. 2012-10-04 22:57:24 -07:00
Eli Zaretskii
be63638622 Fix wording in TUTORIAL.ru. Suggested by Igor Potseluev <4eppelin@gmail.com>. 2012-10-04 22:13:41 +02:00
Eli Zaretskii
7604f29862 Fix test for invalid handle in w32.c's 'utime'.
src/w32.c (utime): Test for INVALID_HANDLE_VALUE, not for NULL, to
 see whether CreateFile failed.
2012-10-04 22:07:45 +02:00
Juri Linkov
0e2ae83d4b * lisp/replace.el (query-replace-interactive): Declare obsolete.
(query-replace-read-from): Add the last incremental search string
to the list of default values accessible via M-n.
(map-query-replace-regexp): Use `read-regexp'.
(query-replace, query-replace-regexp, query-replace-regexp-eval)
(map-query-replace-regexp, replace-string, replace-regexp):
Fix docstrings to replace mentions of `query-replace-interactive'
with alternatives.

Fixes: debbugs:12526
2012-10-04 22:28:11 +03:00
Juri Linkov
93cacb6d08 * lisp/dired.el (dired-shrink-to-fit): Declare obsolete.
(dired-pop-to-buffer): Declare obsolete.
(dired-mark-pop-up): Doc fix.

Fixes: debbugs:1806
2012-10-04 21:30:08 +03:00
Glenn Morris
8d956cef24 * lisp/emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577) 2012-10-04 14:27:37 -04:00
Fabián Ezequiel Gallina
fc345011a6 Allow user to set docstring style for fill-paragraph.
* progmodes/python.el
(python-fill-comment-function, python-fill-string-function)
(python-fill-decorator-function, python-fill-paren-function):
Remove :safe for defcustoms.
(python-fill-string-style): New defcustom
(python-fill-paragraph-function): Enhanced context detection.
(python-fill-string): Honor python-fill-string-style settings.
2012-10-04 13:39:37 -03:00
Julien Danjou
6938736c79 Rename erc-notifications.el to erc-desktop-notifications.el
* erc-desktop-notifications.el: Rename from erc-notifications to
avoid clash with 8+3 filename format and erc-notify.el.
2012-10-04 15:11:49 +02:00
Martin Rudalics
6bab5d8b31 I edebug-pop-to-buffer select window after setting its buffer (Bug#10805).
* emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
after setting its buffer (Bug#10805).
2012-10-04 14:56:14 +02:00
Glenn Morris
b6c9d18ddf Auto-commit of generated files. 2012-10-04 06:17:29 -04:00
Ikumi Keita
ca347e3d40 * src/minibuf.c (Fcompleting_read): Doc fix (tiny change)
Fixes: debbugs:12555
2012-10-04 00:31:56 -07:00
Paul Eggert
7509f454d2 Move ChangeLog entry to proper file. 2012-10-04 00:23:35 -07:00
Paul Eggert
bb1dfdadd5 Merge from gnulib. 2012-10-04 00:15:42 -07:00
Paul Eggert
88d69b7ddc * profiler.c (handle_profiler_signal): Inhibit pending signals too,
to avoid similar races.
* keyboard.c (pending_signals): Now bool, not int.
2012-10-03 22:52:49 -07:00
Paul Eggert
2b794d6940 Port timers to OpenBSD, plus check for timer failures.
OpenBSD problem reported by Han Boetes.
* profiler.c (setup_cpu_timer): Check for failure of timer_settime
and/or setitimer.
(Fprofiler_cpu_stop): Don't assume HAVE_SETITIMER.
* syssignal.h (HAVE_ITIMERSPEC): New macro.  This is for platforms
like OpenBSD, which has timer_settime but does not declare it.
OpenBSD does not define SIGEV_SIGNAL, so use that when deciding
whether to use itimerspec-related primitives.  All uses of
HAVE_TIMER_SETTIME replaced with HAVE_ITIMERSPEC.
2012-10-03 17:10:47 -07:00
Fabián Ezequiel Gallina
a1a9f411ab Fix cornercase for string syntax.
* progmodes/python.el (python-syntax-propertize-function):
Simplify and enhance the regexp for unescaped quotes.  Now it also
matches quotes in weird situations like the single quote in
"something\"'".
(python-syntax-stringify): Simplify num-quotes detecting code.
2012-10-03 18:53:09 -03:00
Glenn Morris
05e153a645 * lisp/help-macro.el (three-step-help): Revert 2012-09-29 change.
Fixes: debbugs:12567
2012-10-03 09:15:04 -07:00
Martin Rudalics
96ef9ccd1b Have kill-this-buffer don't do anything when frame is not alive or visible (Bug#8184).
* menu-bar.el (kill-this-buffer): Don't do anything when
`menu-frame' is not alive or visible (Bug#8184).
2012-10-03 10:50:49 +02:00
Bruno Félix Rezende Ribeiro
26026637d3 * doc/lispref/functions.texi (Function Safety): Copyedit (tiny change)
Fixes: debbugs:12562
2012-10-03 00:25:17 -07:00
Martin Rudalics
2e566ecb82 In debug restore current buffer when quitting debugger window (Bug#12502).
* emacs-lisp/debug.el (debug): When quitting the debugger window
restore current buffer (Bug#12502).
2012-10-03 09:18:50 +02:00