Glenn Morris
0c9b8993e0
ChangeLog fixes.
2010-08-20 19:21:51 -07:00
Dan Nicolaescu
b5c76d0c4f
Remove unused variables malloc_sbrk_used and malloc_sbrk_unused.
...
* src/alloc.c (malloc_sbrk_used, malloc_sbrk_unused): Remove,
write only.
(init_alloc_once): Remove writes to malloc_sbrk_unused, and
malloc_sbrk_used, nothing uses them.
2010-08-20 16:02:11 -07:00
Dan Nicolaescu
748155880f
Small src/puresize.h cleanup.
...
* src/puresize.h: Remove code assuming PNTR_COMPARISON_TYPE is not
defined, unconditionally defined in lisp.h.
2010-08-20 15:52:10 -07:00
Dan Nicolaescu
f5817d1cb5
* src/term.c: Do not include <termios.h>, systty.h does it.
2010-08-20 15:44:38 -07:00
Dan Nicolaescu
d931da8c2a
Remove redundant HAVE_TCATTR defines.
...
* src/s/unixware.h (HAVE_TCATTR):
* src/s/aix4-2.h (HAVE_TCATTR): Remove definitions, not needed.
systty.h defines it when HAVE_TERMIOS is defined.
2010-08-20 15:36:07 -07:00
Eli Zaretskii
00c5399425
Fix last change in buffer_posn_from_coords for text terminals.
...
dispnew.c (buffer_posn_from_coords): Add one-character offset for R2L lines.
2010-08-21 00:01:36 +03:00
Eli Zaretskii
b43c883c71
Fix last change in buffer_posn_from_coords for text terminals.
...
dispnew.c (buffer_posn_from_coords): Add one-character offset for R2L lines.
2010-08-20 23:55:09 +03:00
Eli Zaretskii
6f505bc82d
Fix the MSDOS build broken by the ImageMagick support.
...
sed1v2.inp (IMAGEMAGICK_LIBS, IMAGEMAGICK_CFLAGS): Edit to empty.
2010-08-20 23:26:12 +03:00
Eli Zaretskii
e8a6cc19a3
Add cross-references regarding POSITION of mouse events.
...
commands.texi (Misc Events): Add cross-references to where
POSITION of a mouse event is described in detail.
2010-08-20 23:07:29 +03:00
Joakim Verona
38f9163d62
merge from upstream
2010-08-20 22:00:00 +02:00
Joakim Verona
ccd8061864
minor imagemagick tweaks, one configure bugfix, and some ChangeLogs
2010-08-20 21:55:21 +02:00
Eli Zaretskii
ff2de6d2bb
Fix version string in top-level MSDOS Makefile.
...
msdos/mainmake.v2 (version): Update due to change in emacs.c.
src/emacs.c <emacs_version>: Add a comment regarding msdos/mainmake.v2's
dependency on the syntax of this declaration.
2010-08-20 22:49:20 +03:00
Eli Zaretskii
491a154635
Fix version string in top-level MSDOS Makefile.
...
msods/mainmake.v2 (version): Update due to change in emacs.c.
src/emacs.c <emacs_version>: Add a comment regarding msdos/mainmake.v2's
dependency on the syntax of this declaration.
2010-08-20 22:45:24 +03:00
Eli Zaretskii
c30b8a12a4
xdisp.c: Add commentary about iterator geometry in R2L paragraphs.
2010-08-20 17:31:38 +03:00
Eli Zaretskii
2396cbba62
Fix mouse clicks, drag, and highlight in R2L lines.
...
dispnew.c (buffer_posn_from_coords): Fix calculation of buffer
position for R2L lines by mirroring the pixel position wrt the
text are box. Improve commentary.
2010-08-20 17:19:39 +03:00
Andreas Schwab
7df6150a5f
* image.c (imagemagick_clear_image): Remove debugging output.
2010-08-20 14:02:43 +02:00
Stefan Monnier
118cf45490
* lisp/files.el (locate-file-completion-table): Only list the .el and .elc
...
extensions if there's no other choice.
Fixes: debbugs:5955
2010-08-19 23:21:21 +02:00
Juanma Barranquero
926cd98cf1
nt/addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
2010-08-19 18:38:41 +02:00
Jason Rumney
cc477da7cc
(set_frame_menubar): Remove call to undefined function.
2010-08-19 23:53:08 +08:00
Stefan Monnier
a2e5caf79e
New post-self-insert-hook.
...
* src/cmds.c (Vself_insert_face, Vself_insert_face_command): Remove.
(Qpost_self_insert_hook, Vpost_self_insert_hook): New vars.
(internal_self_insert): Run post-self-insert-hook rather than handle
self-insert-face.
(syms_of_cmds): Initialize the new vars.
* lisp/facemenu.el (facemenu-self-insert-data): New var.
(facemenu-post-self-insert-function, facemenu-set-self-insert-face): New funs.
(facemenu-add-face): Use them.
2010-08-19 17:43:45 +02:00
Jason Rumney
20d60baf35
(w32_wnd_proc): Don't check context before initializing.
2010-08-19 22:51:09 +08:00
Stefan Monnier
4b9c0a498d
* lisp/simple.el (blink-matching-open): Obey forward-sexp-function.
2010-08-19 11:37:40 +02:00
Joakim Verona
96fa176883
upstream merge
2010-08-19 09:34:21 +02:00
Joakim Verona
549a73b97b
some minor cosmetic fixes in comments
2010-08-19 09:29:27 +02:00
Joakim Verona
b0c396f73b
fix some accidental whitespace changes
2010-08-19 09:23:06 +02:00
Jan D
2c0ac86767
* nsselect.m (nxatoms_of_nsselect): Use "Selection" and "Secondary".
2010-08-19 07:55:30 +02:00
Glenn Morris
e720ae53ac
Fix previous Org change.
...
* org.el (org-outline-overlay-data, org-set-outline-overlay-data)
(org-save-outline-visibility): Move to org-macs.
* org-macs.el (org-outline-overlay-data, org-set-outline-overlay-data)
(org-save-outline-visibility): Move here from org.el.
(show-all): Autoload it.
* ob.el: Don't require org when compiling.
2010-08-18 20:45:46 -07:00
Stefan Monnier
b2a15250f6
* lisp/simple.el (prog-mode-map): New var.
...
(prog-indent-sexp): New command.
2010-08-19 01:25:36 +02:00
Eli Zaretskii
9b93863787
xterm.c (x_draw_bar_cursor): Fix last change.
2010-08-18 22:06:11 +03:00
Eli Zaretskii
0d68907dbf
bidi.c (bidi_level_of_next_char): Fix commentary regarding reordering of PDF.
2010-08-18 19:54:08 +03:00
Eli Zaretskii
9335210608
Fix display of bar cursor on right-to-left text.
...
xterm.c (x_draw_bar_cursor):
w32term.c (x_draw_bar_cursor): If the character under cursor is
R2L, draw the bar cursor on its right rather than on its left.
2010-08-18 19:42:06 +03:00
Stefan Monnier
b5ba2d6f9b
* lisp/progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
2010-08-18 15:12:34 +02:00
Stefan Monnier
710a7f464c
Reindent smie.el
2010-08-18 14:10:30 +02:00
Stefan Monnier
b3a8fe90e7
* smie.el (smie-forward-sexp-command): Fix typo.
2010-08-18 14:03:57 +02:00
Joakim Verona
432c975420
merge from trunk, no conflicts
2010-08-18 13:11:01 +02:00
Stefan Monnier
9acd1bdcb9
* lisp/progmodes/prolog.el (smie): Require.
2010-08-18 13:01:15 +02:00
Stefan Monnier
8723cfa464
Try and remove some of SMIE's black magic by generalizing some rules.
...
* lisp/emacs-lisp/smie.el (smie-default-backward-token)
(smie-default-forward-token): Strip properties.
(smie-next-sexp): Be more careful with associative operators.
(smie-forward-sexp-command): Generalize.
(smie-backward-sexp-command): Simplify.
(smie-closer-alist): New var.
(smie-close-block): New command.
(smie-indent-debug-log): New var.
(smie-indent-offset-rule): Add a few more cases.
(smie-indent-column): New function.
(smie-indent-after-keyword): Use it.
(smie-indent-keyword): Use it.
Fix up the opener code's point position.
(smie-indent-comment): Only applies at BOL.
(smie-indent-debug): New command.
2010-08-18 12:57:48 +02:00
Joakim Verona
16a911401b
documentation changes
2010-08-18 12:35:23 +02:00
Stefan Monnier
0193499fe1
* lisp/emacs-lisp/autoload.el (make-autoload): Preload the macros's
...
declarations that are useful before running the macro.
* src/eval.c (Fdefmacro): Only obey one declaration.
2010-08-18 12:21:43 +02:00
Stefan Monnier
c785836ddc
* casefiddle.c (casify_region): Setup gl_state.
2010-08-18 11:27:53 +02:00
Joakim Verona
3234a340f4
minor cleanup
2010-08-18 11:09:46 +02:00
Jan D
9cb728a58c
* nsterm.m (ns_define_frame_cursor): Call x_update_cursor (Bug#6868).
2010-08-18 10:06:45 +02:00
Katsumi Yamaoka
1075cd6169
create-animated-image: Don't add heuristic mask to image (Bug#6839).
2010-08-18 07:45:14 +00:00
Glenn Morris
3b083a0f13
Add bug ref to placeholder NEWS entry.
2010-08-17 23:54:26 -07:00
Jan D
e1e18511e3
* gtkutil.c (update_frame_tool_bar): Literal stings are const char*.
2010-08-18 08:30:54 +02:00
Jan D
64cb6c7883
Use CLIPBOARD and PRIMARY on NS (Bug#6677).
...
* lisp/term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard): Use
QCLIPBOARD instead of QPRIMARY (Bug#6677).
* src/nsselect.m (QCLIPBOARD, NXPrimaryPboard): Define.
(symbol_to_nsstring): Map QCLIPBOARD => NSGeneralPboard,
QPRIMARY => NXPrimaryPboard.
(ns_string_to_symbol): NSGeneralPboard => QCLIPBOARD,
NXPrimaryPboard => QPRIMARY.
(nxatoms_of_nsselect): NXPrimaryPboard = PrimarySelection,
NXSecondaryPboard = SecondarySelection.
(syms_of_nsselect): Intern QCLIPBOARD (Bug#6677).
2010-08-18 08:16:55 +02:00
Glenn Morris
0ac3effe23
Add NEWS placeholder.
2010-08-17 19:48:28 -07:00
Glenn Morris
eeb4145e4c
Fix some more Org `check-declare' issues.
...
* ob.el: Require org when compiling.
(org-save-outline-visibility): Remove macro declaration.
* ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
Remove unnecessary/macro declarations.
* org-docview.el: Require doc-view when compiling.
(doc-view-goto-page): Autoload rather than declaring.
(doc-view-current-page): Remove macro declaration.
2010-08-17 19:44:25 -07:00
Glenn Morris
cd24d7a9eb
Fix typo in previous gnus-sum.el change.
2010-08-17 19:38:44 -07:00
Stefan Monnier
c3554f6825
* src/gtkutil.c (update_frame_tool_bar): Don't assume TOOL_BAR_ITEM_LABEL
...
is a string.
2010-08-17 23:43:47 +02:00