Eli Zaretskii
3ba010e58f
(syms_of_buffer) <line-spacing>: Doc fix.
2009-04-14 13:58:35 +00:00
Juanma Barranquero
6fe45af317
Move comment to make clearer it's talking about buffer Vprin1_to_string_buffer.
2009-03-17 10:26:25 +00:00
Stefan Monnier
61313fa38c
(Fswitch_to_buffer): Revert part of 2008-10-21's change.
2009-03-10 03:35:27 +00:00
Glenn Morris
76b6f70759
Add 2009 to copyright years.
2009-01-08 03:15:17 +00:00
Jason Rumney
40b615d6bd
(Fbuffer_swap_text): Use POINTER_TYPE.
2008-12-25 10:33:33 +00:00
Jason Rumney
baae5c2d84
* ralloc.c (r_alloc_reset_variable): New function.
...
* buffer.c (Fbuffer_swap_text) [REL_ALLOC]: Reset ralloc's internal
record of what points where.
2008-12-24 11:20:32 +00:00
Andreas Schwab
8b1463121e
* buffer.c (init_buffer): Use realloc instead of xrealloc.
...
* gtkutil.c (free_widget_value): Use xfree instead of free.
2008-12-22 09:48:21 +00:00
Chong Yidong
dc9cc5743b
(Fbuffer_swap_text): Signal error if swapping a dead buffer.
2008-12-09 23:08:05 +00:00
Martin Rudalics
ee50ff07eb
(Fswitch_to_buffer): Reword and mention new option
...
confirm-nonexistent-file-or-buffer in doc-string.
2008-11-22 11:35:45 +00:00
Stefan Monnier
b8ff72fad8
(Fbuffer_swap_text): Remove redundant marker manipulation.
...
Fix copy/paste typo. Add checks.
2008-11-21 05:33:29 +00:00
Martin Rudalics
e08b170568
(syms_of_buffer): Fix doc-string of cursor-type.
2008-11-16 18:54:50 +00:00
Martin Rudalics
cd265ca60f
(Fget_buffer_create): Rename arg to buffer_or_name. Reword doc-string.
...
(Fbury_buffer): In doc-string say what happens to the buffer's window.
2008-10-23 09:05:39 +00:00
Martin Rudalics
c8804c4f9f
(Fget_buffer, Fbury_buffer, switch_to_buffer_1):
...
Rename arg "buffer" to "buffer_or_name".
(Fkill_buffer): Rename arg "buffer" to "buffer_or_name" and make
it optional.
(no_switch_window): Remove since the return value is not used.
(Fswitch_to_buffer): Rename arg "buffer" to "buffer_or_name".
Consider window as dedicated when Fwindow_dedicated_p returns a
non-nil value.
2008-10-21 14:05:55 +00:00
Eli Zaretskii
7cb7097441
(syms_of_buffer): Doc fix.
2008-10-15 11:38:09 +00:00
Stefan Monnier
126f1fc1a3
(Fbuffer_swap_text): Reset window->point markers.
2008-09-07 01:22:25 +00:00
Glenn Morris
eb577e2701
(syms_of_buffer): Doc fix.
2008-08-29 06:50:34 +00:00
Juanma Barranquero
d765e3a3d5
* buffer.c (syms_of_buffer) <scroll-up-aggressively>:
...
<scroll-down-aggressively, before-change-functions>:
<after-change-functions>: Reflow docstrings.
2008-08-05 15:04:03 +00:00
Dan Nicolaescu
7c2fb837ec
* bitmaps/README:
...
* xfns.c:
* termcap.c:
* term.c:
* syswait.h:
* systty.h:
* systime.h:
* syssignal.h:
* sysdep.c:
* process.h:
* process.c:
* print.c:
* ndir.h:
* lread.c:
* keyboard.c:
* getpagesize.h:
* floatfns.c:
* fileio.c:
* emacs.c:
* doc.c:
* dispnew.c:
* dired.c:
* data.c:
* callproc.c:
* buffer.c:
* README:
* Makefile.in:
* s/template.h:
* s/msdos.h:
* m/vax.h: Remove VMS support.
* s/vms.h:
* vlimit.h:
* uaf.h:
* temacs.opt:
* param.h:
* ioctl.h: Remove file.
* descrip.mms:
* compile.com: Remove file.
* Create.c: Remove VMS support.
* message.el (Module):
* gnus-start.el (Module):
* gnus-registry.el (Module):
* textmodes/texinfmt.el:
* nxml/nxml-enc.el:
* mail/feedmail.el:
* international/mule.el:
* international/latexenc.el:
* emulation/viper-util.el:
* emulation/viper-init.el:
* emulation/viper-ex.el:
* emacs-lisp/bytecomp.el:
* version.el:
* subr.el:
* startup.el:
* sort.el:
* shadowfile.el:
* recentf.el:
* printing.el:
* paths.el:
* minibuffer.el:
* ls-lisp.el:
* loadup.el:
* hippie-exp.el:
* finder.el:
* files.el:
* ediff-util.el:
* ediff-ptch.el:
* ediff-init.el:
* ediff-diff.el:
* dired.el:
* dired-aux.el:
* cus-edit.el:
* bindings.el:
* arc-mode.el:
* add-log.el: Remove VMS support.
* obsolete/vmsproc.el:
* obsolete/vms-pmail.el:
* obsolete/vms-patch.el: Remove file.
* etags.c:
* emacsclient.c: Remove VMS support.
* termcap.src: Remove file.
* README:
* PROBLEMS:
* MACHINES: Remove VMS info.
* ediff.texi: Remove VMS support.
* os.texi:
* intro.texi:
* files.texi: Remove VMS support.
* emacs.texi: Remove VMS support.
* make-dist:
* README: Remove VMS support.
* vms: Remove directory.
2008-07-31 05:33:56 +00:00
Stefan Monnier
fbe062b7fb
(syms_of_buffer): Remove default-word-wrap.
2008-06-25 20:55:53 +00:00
Chong Yidong
0858cd02f0
(syms_of_buffer): New variables default-word-wrap and word-wrap.
...
(init_buffer_once): Initialize them.
2008-06-24 17:56:14 +00:00
Stefan Monnier
4b7cdc0edd
(clone_per_buffer_values): Skip `name'.
2008-06-11 16:25:03 +00:00
Stefan Monnier
87478b52f9
* window.el (display-buffer-function, special-display-p)
...
(special-display-buffer-names, special-display-regexps)
(special-display-function, same-window-p, same-window-buffer-names)
(same-window-regexps, pop-up-frames, display-buffer-reuse-frames)
(pop-up-frame-function, pop-up-windows)
(split-window-preferred-function, split-height-threshold)
(split-width-threshold, window--splittable-p)
(window--try-to-split-window, window--frame-usable-p)
(even-window-heights, window--even-window-heights)
(window--display-buffer-1, window--display-buffer-2, display-buffer)
(pop-to-buffer): Move from window.c and buffer.c.
(split-window-preferred-horizontally): Remove.
* cus-start.el: Remove corresponding declarations.
* window.c (pop_up_windows, pop_up_frames)
(display_buffer_reuse_frames, Vpop_up_frame_function)
(Vdisplay_buffer_function, Veven_window_heights)
(Vspecial_display_buffer_names, Vspecial_display_regexps)
(Vspecial_display_function, Vsame_window_buffer_names)
(Vsame_window_regexps, split_height_threshold)
(Vsplit_window_preferred_function): Move those vars to window.el.
(display_buffer_1, Fspecial_display_p, Fsame_window_p)
(Fdisplay_buffer): Move those functions to window.el.
(syms_of_window): Remove corresponding declarations.
(display_buffer): New function.
(temp_output_buffer_show, Fother_window_for_scrolling): Use it.
* dispnew.c (Flast_nonminibuf_frame): New function.
* buffer.c (Fpop_to_buffer): Move to window.el.
2008-06-05 18:00:36 +00:00
Stefan Monnier
ad97b375e8
* lisp.h (indirect_variable):
...
* data.c (indirect_variable, let_shadows_buffer_binding_p):
Use Lisp_Symbol pointers rather than Lisp_Object. Adjust callers.
* buffer.c (buffer_slot_type_mismatch): Use wrong-type-argument.
To this end, change calling-convention.
2008-05-19 18:38:55 +00:00
Glenn Morris
9ec0b715e2
Switch to recommended form of GPLv3 permissions notice.
2008-05-14 07:50:26 +00:00
Juri Linkov
88970542ac
(Fswitch_to_buffer): Change interactive spec to call
...
read-buffer-to-switch instead of using the letter "B".
2008-04-22 19:49:26 +00:00
Chong Yidong
526c9df942
(Vtransient_mark_mode): Move docstring to simple.el to
...
avoid clobbering by define-minor-mode.
2008-04-02 20:15:11 +00:00
Stefan Monnier
5371d722ec
(enlarge_buffer_text): Fix int -> EMACS_INT.
2008-03-21 01:49:18 +00:00
Martin Rudalics
7723e095a7
(overlays_in, Foverlays_in): Include empty overlays
...
at end of range when it coincides with the end of the buffer.
2008-03-15 09:14:40 +00:00
Stefan Monnier
1c55ebd109
(Fswitch_to_buffer): Fall back on pop-to-buffer.
2008-03-12 18:13:23 +00:00
Stefan Monnier
0f8b27ea24
* dispextern.h (face_at_buffer_position, face_for_overlay_string)
...
(face_at_string_position):
* xfaces.c (face_at_buffer_position, face_for_overlay_string)
(face_at_string_position):
* xdisp.c (display_string, next_overlay_change):
* buffer.h (overlays_at):
* buffer.c (overlays_at): Use EMACS_INT for buffer positions.
Update callers.
2008-02-26 18:18:05 +00:00
Stefan Monnier
13cda5f9e5
(Fbuffer_swap_text): New function.
...
(syms_of_buffer): Defsubr it.
2008-02-25 19:09:22 +00:00
Stefan Monnier
3ee24aecf6
(clone_per_buffer_values, reset_buffer_local_variables)
...
(Fbuffer_local_value, Fbuffer_local_variables): Don't forget undo_list.
2008-02-11 17:56:13 +00:00
Glenn Morris
d224e8c251
(mode-name): Doc fix.
2008-02-10 02:14:20 +00:00
Stefan Monnier
3ae565b386
* xselect.c (x_handle_dnd_message):
...
* xmenu.c (digest_single_submenu, xmenu_show):
* xdisp.c (with_echo_area_buffer_unwind_data, format_mode_line_unwind_data)
(unwind_format_mode_line, display_menu_bar):
* eval.c (Ffetch_bytecode):
* doc.c (store_function_docstring):
* ccl.c (resolve_symbol_ccl_program, ccl_get_compiled_code)
(Fccl_execute, Fccl_execute_on_string, Fregister_code_conversion_map):
* buffer.c (add_overlay_mod_hooklist): Use ASET.
2008-02-07 04:11:05 +00:00
Miles Bader
d235ca2ff8
Merge from emacs--devo--0
...
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-324
2008-01-30 07:57:28 +00:00
Richard M. Stallman
2f7a359ddd
(reset_buffer_local_variables): Implement `permanent-local-hook'.
...
(Qpermanent_local_hook): New variable.
(syms_of_buffer): init and staticpro it.
2008-01-25 22:56:30 +00:00
Stefan Monnier
64a7c220b3
(syms_of_buffer) <mode-name>: Fix docstring.
2008-01-18 22:50:17 +00:00
Miles Bader
430d2ee291
Merge from emacs--devo--0
...
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312
2008-01-09 01:21:15 +00:00
Miles Bader
59ce725a3b
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
8cabe764e9
Add 2008 to copyright years.
2008-01-08 04:37:27 +00:00
Miles Bader
d29ee6b1a1
Merge from emacs--devo--0
...
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-300
2007-12-16 05:08:49 +00:00
Juri Linkov
c7d97628b0
(Frename_buffer): In interactive spec replace
...
`read-buffer' with `read-string' that uses `buffer-name-history'
as history, and the current buffer's name as default.
2007-12-12 00:10:37 +00:00
Stefan Monnier
3709505e05
(reset_buffer_local_variables): If permanent_too is 0, also
...
preserve non-built-in buffer-local variables.
(Fkill_all_local_variables): Don't re-create&re-set permanent
buffer-local variables.
2007-12-10 03:47:46 +00:00
Juri Linkov
e2bec88627
(Frename_buffer): Change interactive spec from "s" to
...
Lisp code that uses `read-buffer' with current buffer as default.
2007-12-09 23:49:15 +00:00
Miles Bader
0bd5084171
Merge from emacs--devo--0
...
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-294
2007-12-06 09:51:45 +00:00
Stefan Monnier
cc648cef36
(Fget_buffer_create, Fmake_indirect_buffer): Don't cast redundantly.
2007-11-28 04:46:22 +00:00
Stefan Monnier
64e16c3c22
* lisp.h (struct Lisp_Buffer_Objfwd): Add a `slottype' field.
...
* data.c (store_symval_forwarding): Get type from buffer_objfwd.
Update call to buffer_slot_type_mismatch.
* buffer.h (buffer_local_types, PER_BUFFER_TYPE): Remove.
(buffer_slot_type_mismatch): Update.
* buffer.c (buffer_local_types): Remove.
(buffer_slot_type_mismatch): Get the symbol and type as arguments.
(defvar_per_buffer): Set the type in the buffer_objfwd.
2007-11-21 20:59:47 +00:00
Stefan Monnier
e7c10f83b3
(Fbuffer_local_value): Remove redundant test.
...
(swap_out_buffer_local_variables): Swap out binding in `buffer' rather
than in `current-buffer' to match the comment.
Do the swap using swap_in_global_binding.
2007-11-19 07:44:30 +00:00
Miles Bader
9c8020a8df
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 890-898)
- Update from CVS
- Merge from emacs--rel--22
* emacs--rel--22 (patch 122-128)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 257-258)
- Merge from emacs--rel--22
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-270
2007-10-19 00:00:21 +00:00
Stefan Monnier
67ee9f6e91
* lisp.h (enum Lisp_Misc_Type): Del Lisp_Misc_Some_Buffer_Local_Value.
...
(XMISCANY): New macro.
(XMISCTYPE): Use it.
(struct Lisp_Misc_Any): New type.
(union Lisp_Misc): Use it.
(struct Lisp_Buffer_Local_Value): Add `local_if_set' bit.
* data.c (Fboundp, store_symval_forwarding, swap_in_global_binding)
(find_symbol_value, set_internal, default_value, Fset_default)
(Fmake_variable_buffer_local, Fmake_local_variable)
(Fkill_local_variable, Fmake_variable_frame_local, Flocal_variable_p)
(Flocal_variable_if_set_p, Fvariable_binding_locus):
The SOME_BUFFER_LOCAL_VALUEP distinction is replaced by local_if_set.
* alloc.c (allocate_buffer): Set the size and tag.
(allocate_misc, mark_maybe_object, mark_object, survives_gc_p):
Use XMISCANY.
(die): Follow the GNU convention for error messages.
* print.c (print_object): SOME_BUFFER_LOCAL_VALUEP -> local_if_set.
* buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Don't set the
tag any more.
(set_buffer_internal_1):
* frame.c (store_frame_param):
* eval.c (specbind):
* xdisp.c (select_frame_for_redisplay): Drop SOME_BUFFER_LOCAL_VALUEP.
2007-10-16 15:42:58 +00:00