1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00
Commit Graph

98133 Commits

Author SHA1 Message Date
Paul Eggert
200034fcff Merge: Check return values of some library calls. 2011-01-22 23:32:08 -08:00
Paul Eggert
9055082ef8 Check return values of some library calls. 2011-01-22 23:30:19 -08:00
Paul Eggert
5c7d01a54e * src/image.c: Add cast to fix type clash 2011-01-22 20:34:48 -08:00
Paul Eggert
f77fabaf6b * image.c (x_create_bitmap_from_xpm_data): Add cast to fix type clash
when calling XpmCreatePixmapFromData.
2011-01-22 20:33:12 -08:00
Glenn Morris
ce504ff0c9 Mark tiny change. 2011-01-22 19:33:59 -08:00
Paul Eggert
51b59d794f Promote SSDATA macro from gtkutil.c and xsmfns.c to lisp.h. 2011-01-22 18:56:06 -08:00
Gnus developers
9e928ac989 Merge chages made in Gnus trunk.
mailcap.el (mailcap-mime-extensions): Rename text/org to text/x-org.
gnus-draft.el (gnus-group-send-queue): Update the queue group in the group buffer after sending the queue.
gnus-draft.el (gnus-group-send-queue): Really refresh the queue group after sending.
gnus-agent.el (gnus-agent-send-mail): Ditto.
gnus-group.el (gnus-group-refresh-group): New convenience function.
message.el (message-bogus-addresses): Remove commented-out value.
message.el (message-check-recipients): Display the encoded version of the bogus address if they differ.
flow-fill.el (fill-flowed): Make `delete-space' option correspond to "DelSp" parameter in RFC3676.
gnus-sum.el (gnus-summary-move-article): Protect against backends (i.e., nnimap) returning nil as the article number.
2011-01-23 00:34:08 +00:00
Glenn Morris
572bf6f254 Tweak previous copyright.el change.
* lisp/emacs-lisp/copyright.el (copyright-find-copyright)
(copyright-update, copyright-fix-years):
Do the initial widen and move in copyright-find-copyright.
2011-01-22 14:18:01 -08:00
Glenn Morris
d226ec23ec * lisp/emacs-lisp/copyright.el (copyright-fix-years): Use copyright-find-copyright. 2011-01-22 14:13:17 -08:00
Glenn Morris
0412a5a4de Some copyright.el updates.
* lisp/emacs-lisp/copyright.el (copyright-find-copyright): New function,
split out from copyright-update-year.
(copyright-update): Don't mess with the GPL version if we don't own the
copyright.  Update license regexp, and remove no longer needed
Esperanto stuff.
2011-01-22 14:09:09 -08:00
Chong Yidong
e7c1dca85c * vc/diff.el (diff-sentinel): Doc fix (Bug#7682). 2011-01-22 15:15:24 -05:00
Jari Aalto
4d0143e6d7 * play/landmark.el: Change lm-' prefix to landmark-' (Bug#7672).
(lm): Rename to landmark.
(lm-test-run): Rename to landmark-test-run.
2011-01-22 15:12:51 -05:00
Glenn Morris
4474c927a7 * admin/notes/bzrmerge: Comment on skipped revisions. 2011-01-22 11:44:38 -08:00
Glenn Morris
7c82f3e23e Merge from emacs-23 2011-01-22 11:36:45 -08:00
Giorgos Keramidas
80094035af * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs. 2011-01-22 17:21:38 +01:00
Chong Yidong
bd2a4b24c4 Fix last change. 2011-01-22 10:55:08 -05:00
Lars Ingebrigtsen
acf151a815 mm-decode.el (mm-preferred-alternative-precedence): Don't bug out on nested related parts.
nnfolder.el (nnfolder-request-expire-articles): Return the list of unexpired articles.  This fixes the regression that led expiry marks to disappear from nnfolder groups.
2011-01-22 12:34:50 +00:00
Jan Djärv
3fb695589e * nsterm.m (constrainFrameRect): Only constrain the first time called. 2011-01-22 12:33:32 +01:00
Paul Eggert
e02ea74b7e aclocal.m4: put this file back into repository
This way, we don't have to assume that the maintainer has
the automake package installed.  See
<http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00746.html>.
* .bzrignore: Remove aclocal.m4, undoing the previous change.
* Makefile.in (top_maintainer_clean): Do not remove aclocal.m4,
undoing the previous change.
* aclocal.m4: New file (actually, resurrected).
2011-01-21 23:18:23 -08:00
Ken Manheimer
4936e3ba93 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
allout-number-siblings, in keeping with what obtained due to (now-defunct)
allout-keybindings-list.  Ditch repeat binding to (prefixed) ?i.
(allout-before-change-handler): Better expose spots affected by undo.
2011-01-21 23:41:57 -05:00
Chong Yidong
925d54ac55 Add ERT manual to Info dir file. 2011-01-21 23:01:40 -05:00
Chong Yidong
cde7e38b6b * man.el (Man-highlight-references0): Use make-button (Bug#7881). 2011-01-21 22:53:06 -05:00
Chong Yidong
e3545d0d6f * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in menu item. 2011-01-21 22:03:49 -05:00
Miles Bader
9ba41eb9d9 Update configure 2011-01-22 11:46:10 +09:00
Miles Bader
48dcd48260 configure.in: Don't zero-out FONTCONFIG_CFLAGS and FONTCONFIG_LIBS
when building with XFT (doing so is incorrect, as Emacs directly uses
fontconfig, and breaks building when using a strict linker).
2011-01-22 11:45:57 +09:00
Martin Rudalics
e6b84b30bc Rework 2011-01-15 changes to window.c.
* src/window.c (select_window): New function.
(Fselect_window): Call it.
(inhibit_point_swap): Variable deleted.
(Fset_window_configuration): Call select_window directly.
2011-01-21 21:44:53 -05:00
Phil Hagelberg
6b072b27ee Add pcomplete support for hosts defined in .ssh/config.
* lisp/pcmpl-unix.el (pcmpl-ssh-config-file): New option.
(pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
(pcmpl-ssh-config-hosts): New function.
(pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
pcmpl-ssh-known-hosts.
2011-01-21 21:20:57 -05:00
Paul Eggert
7d77be379f Merge: src/config.in: shrink slightly 2011-01-21 16:13:42 -08:00
Paul Eggert
b06b1098fc src/config.in: shrink slightly
* configure.in: Invoke the new gnulib macro gl_ASSERT_NO_GNULIB_TESTS.
This makes src/config.in a bit smaller, by removing identifiers
like GNULIB_TEST_MKTIME that Emacs does not need.
* m4/getopt.m4, m4/gnulib-common.m4, m4/include_next.m4:
* m4/multiarch.m4, m4/stddef_h.m4, m4/time_h.m4, m4/unistd_h.m4:
Sync from gnulib.  This removes a few more unnecessary symbols from
src/config.in, such as AA_APPLE_UNIVERSAL_BUILD and HAVE_STDDEF_H.
* configure, src/config.in: Regenerate.
2011-01-21 16:12:10 -08:00
Julien Danjou
f205c6e78b gnus-art.el (gnus-mime-display-single): Use mm-display-inline rather than mm-insert-inline. 2011-01-21 23:33:46 +00:00
Roland McGrath
6e1dbaa90f * lisp/comint.el (comint-replace-by-expanded-history-before-point): Fix
expansion of !$ and !!:N syntax to pick the indicated word.

Fixes: debbugs:7883
2011-01-21 15:56:24 -05:00
Stefan Monnier
0f1f97caf2 * lisp/progmodes/js.el (js--regexp-literal): Count backslashes.
Fixes: debbugs:7882
2011-01-21 15:48:20 -05:00
Paul Eggert
925e561d32 aclocal.m4: tweaks to regenerate more conveniently
This attempts to act better when the source is in a weird state.  See
<http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00734.html>.
* Makefile.in (am--refresh): Add aclocal.m4, configure, config.in.
* .bzrignore: Add aclocal.m4.
2011-01-21 12:23:24 -08:00
Jari Aalto
26a2788480 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
Assume foo(bar) is a manpage reference rather than some unquoted symbol.

Fixes: debbugs:7705
2011-01-21 13:12:32 -05:00
Stefan Monnier
d5e632d853 * lisp/subr.el (shell-quote-argument): Properly quote \n.
Suggested by Flo <sensorflo@gmail.com>.

Fixes: debbugs:7687
2011-01-21 13:07:41 -05:00
Stefan Monnier
e425f18bb6 * gnus-art.el (gnus-button-alist, gnus-button-handle-info-keystrokes):
Don't confuse the "ret" of "retrograde" with RET.
2011-01-21 12:38:33 -05:00
Ken Manheimer
d42f780259 Include entries from yesterdays checkins that were in an unsaved buffer. 2011-01-21 11:36:24 -05:00
Jan Djärv
e2f79c8d27 Make Nextstep port handle multiple screens for resize and move.
* nsterm.h (ns_output): Add dont_constrain and zooming.
(EmacsView): Add ns_userRect.

* nsterm.m (keyDown): If ns_right_alternate_modifier is Qleft, check
if ns_alternate_modifier is none.

* nsterm.m (x_set_offset, windowDidMove): When calculating y, use first
screen, not the window screen.
(x_set_window_size): Remove constraints.
Calculate origin.y only if zooming is 0 and without referring to a
screen.
(windowWillResize): Don't modify frameSize.
(windowDidBecomeKey, mouseDown): Set dont_constrain to 1.
(initFrameFromEmacs): Initialize ns_userRect.
(windowShouldZoom): Set zooming to one.  Remove all other code.
(windowWillUseStandardFrame): Move static ns_userRect to EmacsView.
Zero it after restore.
(constrainFrameRect): New method for EmacsWindow.
(mouseDragged): Always post NSWindowDidResizeNotification after call to
windowWillResize.
2011-01-21 15:19:44 +01:00
Jan Djärv
449ab399f4 * nsterm.m (keyDown): If ns_right_alternate_modifier is Qleft, check
if ns_alternate_modifier is none.
2011-01-21 09:35:30 +01:00
Glenn Morris
d00b05c949 compile.el fix for bug#7812
* lisp/progmodes/compile.el (compilation-error-regexp-alist):
Fix custom type.
2011-01-20 21:04:45 -08:00
Jay Belanger
c310ff4fad calc/calc-undo.el (calc-undo): Autoload it.
calc/calc-ext.el (calc-init-extensions): Remove keybindings and autoload for `calc-undo'.
calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2011-01-20 22:54:37 -06:00
Katsumi Yamaoka
9695908dfa gnus-art.el (gnus-article-remove-images, gnus-article-show-images): Widen article buffer. 2011-01-21 04:16:57 +00:00
Jay Belanger
26d82c3ad3 calc/calc-prog.el
calc/calc-graph.el
calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2011-01-20 21:48:26 -06:00
Štěpán Němec
a10c414934 calc/calc-ext.el (calc-init-extensions): Map all undo' keybindings to calc-undo'. 2011-01-20 19:04:56 -06:00
Julien Danjou
6e3165fb24 mm-decode.el (mm-inline-media-tests): Add text/x-sh.
gnus-art.el (gnus-mime-inline-part): Use mm-display-inline rather than mm-insert-inline to insert inline part: this respect mm-inline-media-tests displayers.
mm-view.el (mm-display-shell-script-inline): New function.
mm-decode.el (mm-inline-media-tests): Add x-shellscript and x-sh.
mm-uu.el (mm-uu-type-alist): Add org block.
 (mm-uu-org-src-code-block-extract): New function.
mm-view.el (mm-display-org-inline): New function.
mm-decode.el (mm-automatic-display): Add text/org.
mailcap.el (mailcap-mime-extensions): Add .org.
2011-01-20 23:43:27 +00:00
Stefan Monnier
8dabbfd632 Don't mess with *temp*.
* lisp/obsolete/spell.el: Move from textmodes/spell.el.
(spell-string):
* lisp/term.el (term-read-input-ring):
* lisp/startup.el (display-startup-echo-area-message):
* lisp/progmodes/antlr-mode.el (antlr-directory-dependencies):
* lisp/gnus/message.el (message-mailer-swallows-blank-line):
* lisp/comint.el (comint-read-input-ring): Use with-temp-buffer.
* lisp/international/mule.el (ctext-pre-write-conversion):
Don't hardcode point-min==1.
* lisp/gnus/mm-util.el (mm-find-buffer-file-coding-system): Don't forget to
kill the temp buffer.
2011-01-20 17:36:12 -05:00
Ken Manheimer
642f3c5c60 (allout-institute-keymap): Use fset instead of reapplying defalias.
(allout-hotspot-key-handler): Check for non-control-modified bindings for
hotspot characters if there is no control-modified versions.
2011-01-20 16:57:15 -05:00
Ken Manheimer
d3e51865cd allout.el: Summary - migrate to defining allout mode using
define-minor-mode instead of defun.  Significantly clean-up internal keymap
provisions, refactoring a bit and removing a lot of accumulated cruft.

allout-mode-map is now a keymap by virtue of being an defalias to
allout-mode-map-value, which contains the actual keymap structure.

(allout-mode): Use define-minor-mode rather than defun.  Remove
now-unnecessary minor-mode setup activities from the body.  Specify :keymap
as allout-mode-map so the minor-mode-map-alist entry will be
'(allout-mode . allout-mode-map) - see allout-mode-map-value, below.
Adjust docstring to track changes.
(allout-minor-mode): Remove this defalias, now that we're using
define-minor-mode.
(allout-mode-map): Set value to be 'allout-mode-map.  The actual keymap
is allout-mode-map-value, via defalias.
(allout-mode-map-value): The variable holding the actual mode keymap
structure, by virtue of defalias from allout-mode-map.
(allout-compose-and-institute-keymap): Renamed from allout-bind-keys, and
including the binding-composition functionality of the former
produce-allout-mode-map and allout-setup-mode-map.
(allout-institute-keymap): Take over the "setup" part of the former
allout-setup-mode-map.  Reassign allout-mode-map-value value and update the
defalias.
(allout-command-prefix) (allout-prefixed-keybindings)
(allout-unprefixed-keybindings): Use allout-compose-and-institute-keymap to
process the bindings.
(allout-unprefixed-keybindings): Remove extraneous '?' question marks.
(allout-prefixed-keybindings): Elide binding to (prefixed) \C-h - user can
customize if they want to use that binding.  Bind allout-copy-topic-as-kill
to (prefixed) \M-k.  Bind allout-up-current-level to (prefixed) \C-u.  (I
think i mistakenly elided that, previously, instead of the one for \C-h.)
(allout-hotspot-key-handler): Remove attempt to resolve the key through the
literal key-string lookup on allout-keybindings-list.  That probably hasn't
worked for a Long Time, and removal of allout-keybindings-list further
simplifies the keybindings situation.
(allout-pre-command-business): Use allout-mode-map-value instead of
allout-mode-map.
(allout-preempt-trailing-ctrl-h): Remove.  The user can customize the
bindings if they want to use a keybinding having a trailing \C-h.  No
deprecation needed since this feature was never in a release.
(allout-keybindings-list): Remove.  It's not been useful for a while.  (See
allout-hotspot-key-handler changes, above.)
(produce-allout-mode-map): Remove.  Consolidate into
allout-compose-and-institute-keymap.
(allout-mode-map-adjustments): Remove.  No longer necessary with removal of
allout-preempt-trailing-ctrl-h.
(allout-setup-mode-map): Remove.  Consolidate into
allout-compose-and-institute-keymap and allout-institute-keymap.
2011-01-20 13:13:30 -05:00
Glenn Morris
dbfb414e49 * lisp/vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change. 2011-01-19 23:17:22 -08:00
Jan Djärv
e885315dd0 * src/unexmacosx.c: Add comment about include order. 2011-01-20 07:43:04 +01:00