* How can I remove the functions I do not want
@ 2010-06-26 3:48 刘道士
2010-06-26 18:20 ` Eli Zaretskii
0 siblings, 1 reply; 5+ messages in thread
From: 刘道士 @ 2010-06-26 3:48 UTC (permalink / raw)
To: help-gnu-emacs
As a platform based on text editing, Emacs sometimes seems to provide too many functions and modules I do not need or like. Given my personal taste, how can I remove or uninstall the prepackaged functions I do not want?
3Q!
--
来自孤独的根号3
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How can I remove the functions I do not want
2010-06-26 3:48 How can I remove the functions I do not want 刘道士
@ 2010-06-26 18:20 ` Eli Zaretskii
2010-06-27 3:44 ` Qiang Guo
[not found] ` <mailman.9.1277610330.30403.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 5+ messages in thread
From: Eli Zaretskii @ 2010-06-26 18:20 UTC (permalink / raw)
To: help-gnu-emacs
> Date: Sat, 26 Jun 2010 11:48:42 +0800 (CST)
> From: 刘道士 <taoistleu@163.com>
>
> As a platform based on text editing, Emacs sometimes seems to provide too many functions and modules I do not need or like. Given my personal taste, how can I remove or uninstall the prepackaged functions I do not want?
Why are you bothered by this? The packages you don't use are just
lying there on your disk, and don't get loaded into memory unless you
activate one of their features. Why would you want to "uninstall"
them?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How can I remove the functions I do not want
[not found] <mailman.2.1277575476.19630.help-gnu-emacs@gnu.org>
@ 2010-06-26 18:42 ` Pascal J. Bourguignon
0 siblings, 0 replies; 5+ messages in thread
From: Pascal J. Bourguignon @ 2010-06-26 18:42 UTC (permalink / raw)
To: help-gnu-emacs
刘道士 <taoistleu@163.com> writes:
> As a platform based on text editing, Emacs sometimes seems to
> provide too many functions and modules I do not need or like. Given
> my personal taste, how can I remove or uninstall the prepackaged
> functions I do not want?
If you want to uninstall packages, one easy way is to use the package
management system of your distribution.
Once you decide you don't need elscreen, you could, on a Gentoo
distribution, type:
sudo emerge -C elscreen
But emacs only loads what you tell it to load (or what the
distribution has configured to be loaded automatically). In either
case, you can prevent emacs to load these, by giving it the following
options:
emacs --no-init-file # don't load you ~/.emacs, only the system wide initialization
emacs --no-site-file # don't load the system wide initialization, only your ~/.emacs
emacs --quick # don't load anything.
With:
emacs --quick
you really only get the basic text editing features of emacs and
nothing else.
--
__Pascal Bourguignon__ http://www.informatimago.com/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How can I remove the functions I do not want
2010-06-26 18:20 ` Eli Zaretskii
@ 2010-06-27 3:44 ` Qiang Guo
[not found] ` <mailman.9.1277610330.30403.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 5+ messages in thread
From: Qiang Guo @ 2010-06-27 3:44 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: help-gnu-emacs
Right, if you don't load them, they are just files stored on
your disk. If by saying uninstall you do mean delete those
files, sure, you can delete unwanted files. They are usually
located in /usr/share/emacs/23.X/lisp/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How can I remove the functions I do not want
[not found] ` <mailman.9.1277610330.30403.help-gnu-emacs@gnu.org>
@ 2010-06-27 9:30 ` Tim X
0 siblings, 0 replies; 5+ messages in thread
From: Tim X @ 2010-06-27 9:30 UTC (permalink / raw)
To: help-gnu-emacs
Qiang Guo <mcknight0219@gmail.com> writes:
> Right, if you don't load them, they are just files stored on
> your disk. If by saying uninstall you do mean delete those
> files, sure, you can delete unwanted files. They are usually
> located in /usr/share/emacs/23.X/lisp/
>
While you can do this, it is extremely dangerous. What functions/files a
mode or command relies upon is not always obvious and not always
restricted to the same file. For example, simple.el contains lots of
core functionality that may not be obvious.
Note also that removing lots of these files is unlikely to change the
memory footprint of emacs. Emacs uses a dumped image and changing the
files on disk will not affect this. It won't necessarily remove/reduce
the list of commands that appear with things like apropos etc.
As pointed out by others, many of the functions available in emacs are
not loaded until you run the command. You can sometimes see this when
you do a describe function and its documentation refers to arguments not
being available until loaded.
Frequently, requests like this a due to some other issue that the user
want to solve and there is usually another way to get somethning closer
to what is desired without the need to change/delete files. It is
possibly best to explain exactly what the problem is and see if anyone
has better solutions.
regards,
Tim
--
tcross (at) rapttech dot com dot au
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-06-27 9:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-26 3:48 How can I remove the functions I do not want 刘道士
2010-06-26 18:20 ` Eli Zaretskii
2010-06-27 3:44 ` Qiang Guo
[not found] ` <mailman.9.1277610330.30403.help-gnu-emacs@gnu.org>
2010-06-27 9:30 ` Tim X
[not found] <mailman.2.1277575476.19630.help-gnu-emacs@gnu.org>
2010-06-26 18:42 ` Pascal J. Bourguignon
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.