1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-21 18:23:59 +00:00
Commit Graph

103581 Commits

Author SHA1 Message Date
Jan Djärv
c803b2b767 NS selection bug fix and cleanup, see thread C-g crash in C-x C-f (OSX Lion).
Thread is on emacs-devel.

* lisp/term/ns-win.el (ns-get-selection-internal)
(ns-store-selection-internal): Declare.
(ns-store-cut-buffer-internal, ns-get-cut-buffer-internal): Declare
as obsolete.
(ns-get-pasteboard, ns-paste-secondary): Use
ns-get-selection-internal.
(ns-set-pasteboard,  ns-copy-including-secondary): Use
ns-store-selection-internal.

* src/nsselect.m (CUT_BUFFER_SUPPORT): Remove define.
(symbol_to_nsstring): Fix indentation.
(ns_symbol_to_pb): New function.
(Fns_get_selection_internal): Renamed from Fns_get_cut_buffer_internal.
(Fns_rotate_cut_buffers_internal): Removed.
(Fns_store_selection_internal): Renamed from
Fns_store_cut_buffer_internal.
(ns_get_foreign_selection, Fx_own_selection_internal)
(Fx_disown_selection_internal, Fx_selection_exists_p)
(Fns_get_selection_internal, Fns_store_selection_internal): Use
ns_symbol_to_pb and check if return value is nil.
(syms_of_nsselect): Remove ifdef CUT_BUFFER_SUPPORT.  Remove
defsubr Sns_rotate_cut_buffers_internal.  Sns_get_cut_buffer_internal
renamed to Sns_get_selection_internal, Sns_store_cut_buffer_internal
renamed to Sns_store_selection_internal.
(ns_handle_selection_request): Move code to Fx_own_selection_internal
and remove this function.
(ns_handle_selection_clear): Remove, never used.
(Fx_own_selection_internal): Move code from ns_handle_selection_request
here.
2011-12-18 14:49:38 +01:00
Ken Brown
e1b01a3a53 * src/fileio.c (check_writable) [CYGWIN]: Return non-zero if UID or
GID is unknown (Bug#10257).
2011-12-17 12:00:49 -05:00
Glenn Morris
e1fefc61a4 Auto-commit of generated files. 2011-12-17 06:17:53 -05:00
Chong Yidong
9cff91f800 More updates for VC documentation.
* doc/emacs/maintaining.texi (VCS Concepts): Make "revision" terminology
less CVS-specific.
(VC With A Merging VCS, VC With A Locking VCS): Add xref to
Registering node.
(Secondary VC Commands): Deleted.  Promote subnodes.
(Log Buffer): Add command name for C-c C-c.  Fix the name of the
log buffer.  Add index entries.
(VCS Changesets, Types of Log File, VC With A Merging VCS): Use
"commit" terminology.
(Old Revisions): Move it to just before VC Change Log.  "Tag" here
doesn't refer to tags tables.  Note other possible forms of the
revision ID.  C-x v = does not save.
(Registering): Note similarity to C-x v v action.  Fix description
of how backends are chosen.  De-document vc-default-init-revision.
(VC Change Log): Document C-x v l in VC-Dir buffer.  Document RET
in root log buffers.

* lisp/vc/vc.el (vc-deduce-fileset): Minor doc fix.
2011-12-17 15:50:08 +08:00
Paul Eggert
301b181a14 Spelling fixes. 2011-12-16 22:51:13 -08:00
Paul Eggert
2adb6e8578 * s/gnu-linux.h: Fix mark_memory typo (Bug#10286).
(GC_MARK_SECONDARY_STACK): Omit removed 3rd arg to mark_memory,
which caused a build failure on GNU/Linux IA-64.  This problem was
introduced by my 2011-10-07 patch.
2011-12-16 17:05:26 -08:00
Paul Eggert
adee8a65c4 Port HAVE_PTHREAD configuration to MirBSD 10 (Bug#10201).
* configure.in (HAVE_PTHREAD): Check for pthread_atforkif linking
to gmalloc.c.  This should prevent a MirBSD 10 build failure reported
by Nelson H. F. Beebe in
<http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00065.html>.
2011-12-16 16:51:40 -08:00
Chong Yidong
f3b316df61 Fixes for Maintaining chapter of Emacs manual.
* doc/emacs/maintaining.texi (Version Control Systems): Drop Meta-CVS.
(Basic VC Editing): Remove redundant descriptions.
(VC With A Merging VCS): Make description more general instead of
CVS-specific.
(VC With A Locking VCS): Use VC fileset terminology.
2011-12-17 00:05:59 +08:00
Chong Yidong
99a289d98d * lisp/vc/vc.el (vc-next-action): Doc fix; remove CVS-isms. 2011-12-16 23:55:00 +08:00
Andreas Schwab
f16c898aa3 * calc/calc-misc.el (calc-help): Avoid wrapping help message. 2011-12-16 14:32:35 +01:00
Sam Steingold
763237c468 (Man-getpage-in-background): When running under a window-system, ignore $MANWIDTH and $COLUMNS. 2011-12-15 22:14:07 -05:00
Juri Linkov
92a24ea80e * lisp/gnus/mm-decode.el (mm-inline-media-tests): Add missing `mm-handle-media-subtype'. 2011-12-16 01:35:40 +02:00
Juri Linkov
d1d7b339f8 * src/image.c (imagemagick_error): New function.
(imagemagick_load_image): Comment out `MagickSetResolution' call.
Use `imagemagick_error' where ImageMagick functions return
`MagickFalse'.
(Fimagemagick_types): Add `Fnreverse' to return the list in the
proper order.

Fixes: debbugs:10112
2011-12-16 01:28:56 +02:00
Paul Eggert
a87ef89906 Spelling fixes. 2011-12-15 14:14:12 -08:00
Glenn Morris
b6d6d60706 Auto-commit of generated files. 2011-12-15 06:18:13 -05:00
Kenichi Handa
6080e05549 merge trunk 2011-12-15 16:51:01 +09:00
Kenichi Handa
5fc1c122cc Fix Ethiopic related codes for deleted variables and functions. 2011-12-15 16:50:05 +09:00
Paul Eggert
bbd240ceee Spelling fixes. 2011-12-14 23:24:10 -08:00
Kenichi Handa
100d5755ed xftfont.c (xftfont_draw): Use the font metrics of s->font to fill background (Bug#8992). 2011-12-15 11:12:08 +09:00
Paul Eggert
fac916bfd7 Spelling fixes. 2011-12-14 13:05:20 -08:00
Alan Mackenzie
898169a2d8 Add the switch statement to AWK Mode. 2011-12-13 21:13:51 +00:00
Alan Mackenzie
13d49cbb26 Large brace-block initialisation makes CC Mode slow: Fix.
Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
routines.  Limit backward searching in c-font-lock-enclosing.decl.

cc-engine.el (c-state-pp-to-literal): Return the pp-state and literal
type in addition to the limits.
(c-state-safe-place): New defun, extracted from c-state-literal-at.
(c-state-literal-at): Use the above new defun.
(c-slow-in-literal, c-fast-in-literal): Removed.
(c-in-literal, c-literal-limits): Amended to use c-state-pp-to-literal.

cc-fonts.el (c-font-lock-enclosing-decls): Check for being in a literal.
Add a limit for backward searching.

cc-mode.el (awk-mode): Don't alias c-in-literal to c-slow-in-literal.
2011-12-13 18:47:08 +00:00
Stefan Monnier
15e0efc7dc * lisp/progmodes/pascal.el: Declare `ind' as dyn-bound.
Fixes: debbugs:10264
2011-12-13 10:33:25 -05:00
Martin Rudalics
53524d9377 Fix doc-string typo. 2011-12-13 14:58:20 +01:00
Martin Rudalics
61d4b438e6 Fix doc-string of recenter-redisplay. 2011-12-13 14:53:00 +01:00
Martin Rudalics
454592a615 Minor fixes in window handling code and docs.
* window.c (Vwindow_combination_resize)
(Vwindow_combination_limit): Use t instead of non-nil in
doc-strings.
* window.el (delete-other-windows): Use correct frame in call to
window-with-parameter.
* windows.texi (Splitting Windows): Use t instead of non-nil
when describing window-combination-resize.
2011-12-13 14:37:48 +01:00
Daniel Pfeiffer
87393f2618 * lisp/progmodes/make-mode.el: Bring it up to date with makepp V2.0.
(makefile-make-font-lock-keywords): Extend meaning of `keywords'.
(makefile-gmake-statements, makefile-makepp-statements):
Use it and add new makepp keywords.
(makefile-makepp-font-lock-keywords): Add new patterns.
(makefile-match-function-end): Match new [...] and [[...]].
2011-12-12 16:23:42 -05:00
Glenn Morris
8d3c0ff211 Auto-commit of loaddefs files. 2011-12-12 06:27:47 -05:00
Chong Yidong
29eabb8eff More updates to Building chapter of Emacs manual.
* doc/emacs/building.texi (Executing Lisp): Fix xref for C-M-x.
(Lisp Libraries): Add xref to node explaining `load' in Lisp
manual.  Note that load-path is not customizable.
(Lisp Eval): Note that listed commands are available globally.
Explain the meaning of "defun" in the C-M-x context.
(Lisp Interaction): Copyedits.
(External Lisp): Fix name of inferior Lisp buffer.  Mention Scheme.
(Compilation): Define "inferior process".
2011-12-12 15:25:58 +08:00
Paul Eggert
333f9019e2 Spelling fixes. 2011-12-11 21:32:49 -08:00
Juanma Barranquero
11636b221d Fix typos. 2011-12-11 18:08:11 +01:00
Vincent Belaïche
cf01819325 The overall change is to add cell renaming, that is
setting fancy names for cell symbols other than name matching
	"\\`[A-Z]+[0-9]+\\'" regexp .
	(ses-create-cell-variable): New defun.
	(ses-relocate-formula): Relocate formulas only for cells the
	symbols of which are not renamed, i.e. symbols whose names do not
	match regexp "\\`[A-Z]+[0-9]+\\'".
	(ses-relocate-all): Relocate values only for cells the symbols of
	which are not renamed.
	(ses-load): Create cells variables as the (ses-cell ...) are read,
	in order to check row col consistency with cell symbol name only
	for cells that are not renamed.
	(ses-replace-name-in-formula): New defun.
	(ses-rename-cell): New defun.
2011-12-11 15:49:48 +01:00
Chong Yidong
ee95746181 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp
which is required for completion via gud-gdb-fetch-lines-filter.

Fixes: debbugs:10274
2011-12-11 21:17:07 +08:00
Kenichi Handa
d93a1e3467 merge trunk 2011-12-11 21:11:01 +09:00
Kenichi Handa
3633e3aa59 coding.c (Funencodable_char_position): Pay attention to the buffer text relocation (Bug#9389). 2011-12-11 21:08:51 +09:00
Glenn Morris
d7932d31e3 Auto-commit of generated files. 2011-12-11 06:20:56 -05:00
Martin Rudalics
9a9e9ef0e8 Fix docstring of other-window. 2011-12-11 11:38:11 +01:00
Jan Djärv
7b9d523a07 * src/xterm.c (x_term_init): Move call to gdk_window_add_filter before
gtk_init.

Fixes: debbugs:10100
2011-12-10 23:53:28 +01:00
Eli Zaretskii
b73189c64f Fix bug #10263 with assertion violation using telugu-itrans input method.
src/xdisp.c (RECORD_MAX_MIN_POS): Use IT->cmp_it.charpos only if
 IT->string is nil.
2011-12-10 21:54:45 +02:00
Jan Djärv
83faebb47a * nsterm.h (x_free_frame_resources): Declare. 2011-12-10 15:16:35 +01:00
Jan Djärv
f7dfe5d679 Don't crash on bad user input.
* nsfns.m (ns_get_defaults_value): New function.
(Fns_get_resource, x_get_string_resource): Call ns_get_defaults_value.

* nsterm.h (ns_get_defaults_value): Declare.

* nsterm.m (ns_default): Call ns_get_defaults_value.

Fixes: debbugs:10103
2011-12-10 15:01:08 +01:00
Eli Zaretskii
2ce2526364 Commit auto-generated files. 2011-12-10 15:48:35 +02:00
Eli Zaretskii
92a8eba505 Fix incorrect display of RFC2047 encoded names in Rmail summary buffers
lisp/mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
 `from' or `to' address before taking its substring.  Fixes
 incorrect display in Rmail summary buffer whereby an RFC2047
 encoded name is chopped in the middle of the encoded string, and
 thus displayed encoded.
2011-12-10 15:46:25 +02:00
Juanma Barranquero
e152e577f0 update-subdirs: Don't set no-byte-compile twice (bug#10260).
lisp/makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2011-12-10 13:49:33 +01:00
Jan Djärv
46d14be754 * configure.in (HAVE_ALSA, HAVE_GSETTINGS): Save and restore LIBS
instead of LDFLAGS.

Fixes: debbugs:10230
2011-12-10 13:33:07 +01:00
Eli Zaretskii
b8830d2864 Fix bug #2975 with insufficient docs of texinfo-master-menu.
lisp/textmodes/texnfo-upd.el: Correct outdated description about
 texinfo-master-menu.
 (texinfo-master-menu): Explain better in the doc string what the
 function really does.
 (texinfo-insert-master-menu-list): Improve the error message
 displayed if there's no menu in the Top node.
2011-12-10 14:22:25 +02:00
Eli Zaretskii
e5d84bfe06 Fix documentation and one misfeature of Texinfo mode update commands.
lisp/textmodes/texnfo-upd.el: Update commentary.  Add a warning not
 to use texinfo-update-node and commands that call it if the
 Texinfo file uses @node lines without next/prev/up pointers.
 (texinfo-all-menus-update, texinfo-master-menu)
 (texinfo-update-node, texinfo-every-node-update)
 (texinfo-multiple-files-update): Doc fix.  Warn against updating
 all the @node lines.
 (texinfo-master-menu): Only call texinfo-update-node if the prefix
 argument is numeric.  See also this thread:
 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.

Fixes: debbugs:2975
2011-12-10 12:49:33 +02:00
Eli Zaretskii
cd0314dd85 Minor improvement in MS-Windows specific usage info.
doc/emacs/msdog.texi (Windows Fonts): Document how to force GDI font
 backend on MS-Windows.
2011-12-10 11:12:00 +02:00
Chong Yidong
0595bd7e90 More updates to Building chapter of Emacs manual.
* doc/emacs/building.texi (Compilation): Say what the -k flag to make does.
Move subprocess discussion to Compilation Shell.
(Compilation Mode): Add xref for grep, occur, and mouse
references.  Define "locus".
(Grep Searching): Use @command.
(Debuggers, Commands of GUD, GDB Graphical Interface): Clarify
intro.
(Starting GUD): Clarify how arguments are specified.
(Debugger Operation): Index entry for "GUD interaction buffer",
and move basic description here from Commands of GUD node.
(GDB User Interface Layout): Copyedits.
(Source Buffers): Remove gdb-find-source-frame, which is not in
gdb-mi.el.
(Other GDB Buffers): Remove gdb-use-separate-io-buffer and
toggle-gdb-all-registers, which are not in gdb-mi.el.  Don't
re-document GUD interaction buffers.
2011-12-10 15:39:43 +08:00
Lars Magne Ingebrigtsen
ffdcbd1c7b Clarify auth-source in conjuction with smtpmail in NEWS. 2011-12-10 07:58:12 +01:00