* TAGS
@ 2004-01-05 5:30 Jack Wang
2004-01-05 6:01 ` TAGS Eli Zaretskii
0 siblings, 1 reply; 19+ messages in thread
From: Jack Wang @ 2004-01-05 5:30 UTC (permalink / raw)
Hi all:
How to generate TAGS file in a complex directory structure (with many subdirectories)?
I use find . -name "*.[cch]" -print | etags - to generate TAGS file for all *.cc and *.h files. Are there any other methods?
By the way, when I use M-x tags-search to search a word, e.g., pointer_a, how to make it case-sensitive and match-word-only, so that
POINTER_A and pointer_a_1 will be skipped?
Thanks a lot.
Jack
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: TAGS
2004-01-05 5:30 TAGS Jack Wang
@ 2004-01-05 6:01 ` Eli Zaretskii
0 siblings, 0 replies; 19+ messages in thread
From: Eli Zaretskii @ 2004-01-05 6:01 UTC (permalink / raw)
> From: "Jack Wang" <jw2000@excite.com>
> Date: Mon, 5 Jan 2004 00:30:06 -0500 (EST)
>
> How to generate TAGS file in a complex directory structure (with many subdirectories)?
find . -name 'whatever' | etags -
> I use find . -name "*.[cch]" -print | etags - to generate TAGS file for all *.cc and *.h files.
This is fine, but for one problem: "*.[cch]" will _not_ find *.cc
files, since the "[]" group stands for a single character. So better
use something like
find . -name "*.[ch]" -o -name "*.cc" | etags -
> Are there any other methods?
What's wrong with this one?
> By the way, when I use M-x tags-search to search a word, e.g., pointer_a, how to make it case-sensitive and match-word-only, so that
>
> POINTER_A and pointer_a_1 will be skipped?
Did you try to set tags-case-fold-search?
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: TAGS
[not found] <mailman.938.1073284523.868.help-gnu-emacs@gnu.org>
@ 2004-01-05 7:13 ` Friedrich Dominicus
0 siblings, 0 replies; 19+ messages in thread
From: Friedrich Dominicus @ 2004-01-05 7:13 UTC (permalink / raw)
"Jack Wang" <jw2000@excite.com> writes:
> Hi all:
>
>
>
> How to generate TAGS file in a complex directory structure (with
> many subdirectories)?
depends on the Shell and number of files you're using in zsh e.g you
can just get away with
etags **/*.{c,cc,h} but if there are too many files the command line
will get overflowed.
The other thing which works
find . -name "*.{c,cc,h}" -exec etags -a -o SOME-TAGS-FILE {} \;
which will call etags on any file and append that stuff to
SOME_TAGS-FILE, well minor errors I may have introduced ;-)
Regards
Friedrich
^ permalink raw reply [flat|nested] 19+ messages in thread
* TAGS
@ 2011-01-23 8:12 simon cossar
2011-01-23 11:17 ` TAGS Peter Dyballa
[not found] ` <mailman.2.1295781488.8995.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 19+ messages in thread
From: simon cossar @ 2011-01-23 8:12 UTC (permalink / raw)
To: help-gnu-emacs
Hello list - I hope this as the appropriate place for my question. I am
fairly new to computers - I am just discovering emacs lisp and creating
simple functions. I am trying to view the source code of built in
functions - I understand how to use etags to set up a tags file for a
directory but I can't find the directory that contains the built in
functions. I am finding all sorts of .elc files. Is it possible that
everything has been byte-compiled? I am on Ubuntu 10.04 (64 bit) with
emacs 23.1.1. If anyone could point me in the right direction it would
be greatly appreciated.
Simon
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: TAGS
[not found] <mailman.24.1295774756.8897.help-gnu-emacs@gnu.org>
@ 2011-01-23 9:44 ` rusi
2011-01-23 17:15 ` TAGS Memnon Anon
[not found] ` <mailman.0.1295802921.7736.help-gnu-emacs@gnu.org>
2011-01-23 10:00 ` TAGS harven
1 sibling, 2 replies; 19+ messages in thread
From: rusi @ 2011-01-23 9:44 UTC (permalink / raw)
To: help-gnu-emacs
On Jan 23, 1:12 pm, simon cossar <scos...@telus.net> wrote:
> Hello list - I hope this as the appropriate place for my question. I am
> fairly new to computers - I am just discovering emacs lisp and creating
> simple functions. I am trying to view the source code of built in
> functions - I understand how to use etags to set up a tags file for a
> directory but I can't find the directory that contains the built in
> functions. I am finding all sorts of .elc files. Is it possible that
> everything has been byte-compiled? I am on Ubuntu 10.04 (64 bit) with
> emacs 23.1.1. If anyone could point me in the right direction it would
> be greatly appreciated.
> Simon
Strict answer: Built in functions are in source code. If you installed
emacs from apt (apt-get/synaptic etc) you probably dont and cant get
those. If you want it compile emacs by hand which is not very hard on
linux.
A more helpful answer would be that if
> I am fairly new to computers - I am just discovering
> emacs lisp and creating simple functions.
then you would be better off doing:
while (fairly new to computers and emacs) do
use emacs
read elisp
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: TAGS
[not found] <mailman.24.1295774756.8897.help-gnu-emacs@gnu.org>
2011-01-23 9:44 ` TAGS rusi
@ 2011-01-23 10:00 ` harven
1 sibling, 0 replies; 19+ messages in thread
From: harven @ 2011-01-23 10:00 UTC (permalink / raw)
To: help-gnu-emacs
simon cossar <scossar@telus.net> writes:
> Hello list - I hope this as the appropriate place for my question. I am
> fairly new to computers - I am just discovering emacs lisp and creating
> simple functions. I am trying to view the source code of built in
> functions - I understand how to use etags to set up a tags file for a
> directory but I can't find the directory that contains the built in
> functions. I am finding all sorts of .elc files. Is it possible that
> everything has been byte-compiled? I am on Ubuntu 10.04 (64 bit) with
> emacs 23.1.1. If anyone could point me in the right direction it would
> be greatly appreciated.
> Simon
If you want to browse emacs lisp sources, you don't need to create
tags. You can get to the definition of a command by typing
C-h f RET then enter the name of the command.
You then get a summary of the command in a window.
Now clicking on the underlined filename on the upper right of the window
will bring you to the source.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: TAGS
2011-01-23 8:12 TAGS simon cossar
@ 2011-01-23 11:17 ` Peter Dyballa
2011-01-23 15:24 ` TAGS Perry Smith
[not found] ` <mailman.2.1295781488.8995.help-gnu-emacs@gnu.org>
1 sibling, 1 reply; 19+ messages in thread
From: Peter Dyballa @ 2011-01-23 11:17 UTC (permalink / raw)
To: simon cossar; +Cc: help-gnu-emacs
Am 23.01.2011 um 09:12 schrieb simon cossar:
> I am finding all sorts of .elc files. Is it possible that everything
> has been byte-compiled?
To save space an installation of GNU Emacs can be done by only
installing the ELC files. If you want to see the EL files, i.e., it's
not enough for you what C-h f <function name> RET returns, then get
the GNU Emacs source code. Which is now at #23.2.
--
Greetings
<]
Pete o __o |__ o recumbo
___o /I -\<, |o \ -\),-% ergo sum!
___/\ /\___./ \___...O/ O____.....`-O-'-()--o_________________
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: TAGS
[not found] ` <mailman.2.1295781488.8995.help-gnu-emacs@gnu.org>
@ 2011-01-23 11:31 ` Alain Ketterlin
0 siblings, 0 replies; 19+ messages in thread
From: Alain Ketterlin @ 2011-01-23 11:31 UTC (permalink / raw)
To: help-gnu-emacs
Peter Dyballa <Peter_Dyballa@Web.DE> writes:
> Am 23.01.2011 um 09:12 schrieb simon cossar:
>
>> I am finding all sorts of .elc files. Is it possible that everything
>> has been byte-compiled?
>
> To save space an installation of GNU Emacs can be done by only
> installing the ELC files. If you want to see the EL files, i.e., it's
> not enough for you what C-h f <function name> RET returns, then get
> the GNU Emacs source code. Which is now at #23.2.
The OP uses ubuntu, which provides lisp source code in specific packages
(with names ending in -el).
-- Alain.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: TAGS
2011-01-23 11:17 ` TAGS Peter Dyballa
@ 2011-01-23 15:24 ` Perry Smith
2011-01-23 16:28 ` TAGS Peter Dyballa
` (2 more replies)
0 siblings, 3 replies; 19+ messages in thread
From: Perry Smith @ 2011-01-23 15:24 UTC (permalink / raw)
To: simon cossar; +Cc: help-gnu-emacs
On Jan 23, 2011, at 5:17 AM, Peter Dyballa wrote:
>
> Am 23.01.2011 um 09:12 schrieb simon cossar:
>
>> I am finding all sorts of .elc files. Is it possible that everything has been byte-compiled?
>
> To save space an installation of GNU Emacs can be done by only installing the ELC files. If you want to see the EL files, i.e., it's not enough for you what C-h f <function name> RET returns, then get the GNU Emacs source code. Which is now at #23.2.
Also, it might work to post this same question to an ubuntu list asking for what to install to get the source.
In case you didn't get the gist of the previous replies, there are two kinds of source: elisp and c. With a nice full install (like my Mac has), I can do C-h <function> to get the built in help. And then I'll have a link at the top that will take me to the source no matter whether it is in lisp or C. Very very nice to have.
Good luck.
Perry
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: TAGS
2011-01-23 15:24 ` TAGS Perry Smith
@ 2011-01-23 16:28 ` Peter Dyballa
2011-01-24 0:59 ` TAGS simon cossar
[not found] ` <mailman.5.1295830797.28254.help-gnu-emacs@gnu.org>
[not found] ` <mailman.7.1295800089.26013.help-gnu-emacs@gnu.org>
2011-01-23 21:50 ` TAGS simon cossar
2 siblings, 2 replies; 19+ messages in thread
From: Peter Dyballa @ 2011-01-23 16:28 UTC (permalink / raw)
To: Perry Smith; +Cc: help-gnu-emacs, simon cossar
Am 23.01.2011 um 16:24 schrieb Perry Smith:
> Also, it might work to post this same question to an ubuntu list
> asking for what to install to get the source.
Some Linux distributions offer to install the *source* packages as well.
--
Greetings
Pete
A designer knows he has arrived at perfection not when there is no
longer anything to add, but when there is no longer anything to take
away.
– Antoine de Saint-Exupéry
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: TAGS
[not found] ` <mailman.7.1295800089.26013.help-gnu-emacs@gnu.org>
@ 2011-01-23 16:43 ` rusi
0 siblings, 0 replies; 19+ messages in thread
From: rusi @ 2011-01-23 16:43 UTC (permalink / raw)
To: help-gnu-emacs
On Jan 23, 9:28 pm, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Am 23.01.2011 um 16:24 schrieb Perry Smith:
>
> > Also, it might work to post this same question to an ubuntu list
> > asking for what to install to get the source.
>
> Some Linux distributions offer to install the *source* packages as well.
>
> --
> Greetings
>
> Pete
>
> A designer knows he has arrived at perfection not when there is no
> longer anything to add, but when there is no longer anything to take
> away.
> – Antoine de Saint-Exupéry
Yes its easy to get C sources in ubuntu/debian etc but is that source
package linked with the emacs binary? ie does help on a builtin C
function take you straight there? I would be surprised if yes.
elisp sources are much easier and you should get them in package
emacs23-el elisp-manual (at least thats what it is on debian)
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: TAGS
2011-01-23 9:44 ` TAGS rusi
@ 2011-01-23 17:15 ` Memnon Anon
[not found] ` <mailman.0.1295802921.7736.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 19+ messages in thread
From: Memnon Anon @ 2011-01-23 17:15 UTC (permalink / raw)
To: help-gnu-emacs
rusi <rustompmody@gmail.com> writes:
> Strict answer: Built in functions are in source code. If you installed
> emacs from apt (apt-get/synaptic etc) you probably dont and cant get
> those. If you want it compile emacs by hand which is not very hard on
> linux.
Package: emacs23-el
Priority: optional
Section: editors
Installed-Size: 16076
Maintainer: Rob Browning <rlb@defaultvalue.org>
Architecture: all
Source: emacs23
Version: 23.2+1-7
Depends: emacs23-common (= 23.2+1-7)
Filename: pool/main/e/emacs23/emacs23-el_23.2+1-7_all.deb
Size: 13706372
MD5sum: 7ef805f9c2bbc10c9aef49ea53984a77
SHA1: 2da5302944705aa1a3c4e50145a552a7a89fa8fd
SHA256: be99c45355e102f7f16409d7b9f239d6df79fbdf8a9d8e8bcc08d16991674f82
Description: GNU Emacs LISP (.el) files
GNU Emacs is the extensible self-documenting text editor.
This package contains the elisp sources for the convenience of users,
saving space in the main package for small systems.
Homepage: http://www.gnu.org/software/emacs/
Tag: devel::lang:lisp, implemented-in::lisp, role::source, suite::emacs
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: TAGS
[not found] ` <mailman.0.1295802921.7736.help-gnu-emacs@gnu.org>
@ 2011-01-23 17:39 ` rusi
0 siblings, 0 replies; 19+ messages in thread
From: rusi @ 2011-01-23 17:39 UTC (permalink / raw)
To: help-gnu-emacs
On Jan 23, 10:15 pm, Memnon Anon <gegendosenflei...@googlemail.com>
wrote:
> rusi <rustompm...@gmail.com> writes:
> > Strict answer: Built in functions are in source code. If you installed
> > emacs from apt (apt-get/synaptic etc) you probably dont and cant get
> > those. If you want it compile emacs by hand which is not very hard on
> > linux.
>
> Package: emacs23-el
> Priority: optional
> Section: editors
> Installed-Size: 16076
> Maintainer: Rob Browning <r...@defaultvalue.org>
> Architecture: all
> Source: emacs23
> Version: 23.2+1-7
> Depends: emacs23-common (= 23.2+1-7)
> Filename: pool/main/e/emacs23/emacs23-el_23.2+1-7_all.deb
> Size: 13706372
> MD5sum: 7ef805f9c2bbc10c9aef49ea53984a77
> SHA1: 2da5302944705aa1a3c4e50145a552a7a89fa8fd
> SHA256: be99c45355e102f7f16409d7b9f239d6df79fbdf8a9d8e8bcc08d16991674f82
> Description: GNU Emacs LISP (.el) files
> GNU Emacs is the extensible self-documenting text editor.
> This package contains the elisp sources for the convenience of users,
> saving space in the main package for small systems.
> Homepage:http://www.gnu.org/software/emacs/
> Tag: devel::lang:lisp, implemented-in::lisp, role::source, suite::emacs
I guess there is a confusion because the word "builtin" has two
closely related but different meanings.
Narrow meaning: "builtin" means built into the C core -- ie written in
C.
You will see this usage if you ask help on the function car or +
The looser broader meaning is: anything that comes with emacs.
If the OP meant the looser meaning then emacs23-el should (mostly)
suffice
If the narrower then he will probably need to compile emacs for
himself.
In any case etags-tagging is not necessary and if you do it it will be
a big pain to interface it with the emacs describe-fucntion etc help
system
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: TAGS
2011-01-23 15:24 ` TAGS Perry Smith
2011-01-23 16:28 ` TAGS Peter Dyballa
[not found] ` <mailman.7.1295800089.26013.help-gnu-emacs@gnu.org>
@ 2011-01-23 21:50 ` simon cossar
2 siblings, 0 replies; 19+ messages in thread
From: simon cossar @ 2011-01-23 21:50 UTC (permalink / raw)
To: help-gnu-emacs@gnu.org
Thank you for your replies, I was looking everywhere for the elisp
source code - it's good to know it isn't there. I learned a lot about my
file system in the process. It would be great to see the .el files, as
I'm finding emacs lisp combined with the C-h f function surprisingly
easy to read.
Thanks again,
Simon
On Sun, 2011-01-23 at 09:24 -0600, Perry Smith wrote:
> On Jan 23, 2011, at 5:17 AM, Peter Dyballa wrote:
>
> >
> > Am 23.01.2011 um 09:12 schrieb simon cossar:
> >
> >> I am finding all sorts of .elc files. Is it possible that everything has been byte-compiled?
> >
> > To save space an installation of GNU Emacs can be done by only installing the ELC files. If you want to see the EL files, i.e., it's not enough for you what C-h f <function name> RET returns, then get the GNU Emacs source code. Which is now at #23.2.
>
> Also, it might work to post this same question to an ubuntu list asking for what to install to get the source.
>
> In case you didn't get the gist of the previous replies, there are two kinds of source: elisp and c. With a nice full install (like my Mac has), I can do C-h <function> to get the built in help. And then I'll have a link at the top that will take me to the source no matter whether it is in lisp or C. Very very nice to have.
>
> Good luck.
>
> Perry
>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: TAGS
2011-01-23 16:28 ` TAGS Peter Dyballa
@ 2011-01-24 0:59 ` simon cossar
[not found] ` <mailman.5.1295830797.28254.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 19+ messages in thread
From: simon cossar @ 2011-01-24 0:59 UTC (permalink / raw)
To: help-gnu-emacs@gnu.org
Hi all, after a bit of searching...the emacs .el files are available
through the ubuntu/emacs ppa. In case anyone is as ignorant as I am (I
am assuming this is archived) the files are compressed and need to be
extracted BEFORE you can create a functioning tags table.
Simon
On Sun, 2011-01-23 at 17:28 +0100, Peter Dyballa wrote:
> Am 23.01.2011 um 16:24 schrieb Perry Smith:
>
> > Also, it might work to post this same question to an ubuntu list
> > asking for what to install to get the source.
>
>
> Some Linux distributions offer to install the *source* packages as well.
>
> --
> Greetings
>
> Pete
>
> A designer knows he has arrived at perfection not when there is no
> longer anything to add, but when there is no longer anything to take
> away.
> – Antoine de Saint-Exupéry
>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: TAGS
[not found] ` <mailman.5.1295830797.28254.help-gnu-emacs@gnu.org>
@ 2011-01-24 3:53 ` rusi
0 siblings, 0 replies; 19+ messages in thread
From: rusi @ 2011-01-24 3:53 UTC (permalink / raw)
To: help-gnu-emacs
On Jan 24, 5:59 am, simon cossar <scos...@telus.net> wrote:
> Hi all, after a bit of searching...the emacs .el files are available
> through the ubuntu/emacs ppa.
Did you install emacs23-el? http://packages.ubuntu.com/maverick/emacs23-el
And you did you wont need ppa... etags
If you did and you dont get the el files still you probably have a
ubuntu packaging bug
Please let me know -- What are all the emacs-related packages you
have installed?
ppa.. will give you unnecessary dependency-hell at a later point
[Sorry for my first answer: I thought you wanted the C-builtins --
ignore]
> In case anyone is as ignorant as I am (I
> am assuming this is archived) the files are compressed and need to be
> extracted BEFORE you can create a functioning tags table.
> Simon
If emacs is setup correctly the el files can stay compressed and emacs
will unzip before open-ing then.
^ permalink raw reply [flat|nested] 19+ messages in thread
* tags
@ 2012-11-09 13:00 johnrarellano
2012-11-09 13:12 ` tags Giovanni Ridolfi
0 siblings, 1 reply; 19+ messages in thread
From: johnrarellano @ 2012-11-09 13:00 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 349 bytes --]
Related to a recent question, is there a way to bookmark a spot in a
long text?
My makeshift method right now is to create a temporary subheader at
the position and then tag it, but I would like to implement tags much
like the Emacs "mark" is often implemented temporarily. Jumping to
precisely the cursor position where I was last reading.
[-- Attachment #2: Type: text/html, Size: 477 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: tags
2012-11-09 13:00 tags johnrarellano
@ 2012-11-09 13:12 ` Giovanni Ridolfi
2012-11-09 17:17 ` tags Samuel Wales
0 siblings, 1 reply; 19+ messages in thread
From: Giovanni Ridolfi @ 2012-11-09 13:12 UTC (permalink / raw)
To: johnrarellano@aol.com, emacs-orgmode@gnu.org
Da: "johnrarellano@aol.com" <johnrarellano@aol.com>
Inviato: Venerdì 9 Novembre 2012 14:00
hi, John,
> Related to a recent question, is there a way to bookmark a spot in a
> long text?
how about
(info "(emacs)bookmarks")
cheers,
Giovanni /who sometimes think we forget Org is in Emacs ;-)
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: tags
2012-11-09 13:12 ` tags Giovanni Ridolfi
@ 2012-11-09 17:17 ` Samuel Wales
0 siblings, 0 replies; 19+ messages in thread
From: Samuel Wales @ 2012-11-09 17:17 UTC (permalink / raw)
To: Giovanni Ridolfi; +Cc: johnrarellano@aol.com, emacs-orgmode@gnu.org
Bookmarks are excellent for persistence. However, if you want
robustness to filling and sorting, then implementing ID markers might
be a good way to solve it.
Samuel
--
The Kafka Pandemic: http://thekafkapandemic.blogspot.com
It is a progressive disease. MANY people have died from it. ANYBODY
can get it. There is no hope without action.
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2012-11-09 17:18 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.24.1295774756.8897.help-gnu-emacs@gnu.org>
2011-01-23 9:44 ` TAGS rusi
2011-01-23 17:15 ` TAGS Memnon Anon
[not found] ` <mailman.0.1295802921.7736.help-gnu-emacs@gnu.org>
2011-01-23 17:39 ` TAGS rusi
2011-01-23 10:00 ` TAGS harven
2012-11-09 13:00 tags johnrarellano
2012-11-09 13:12 ` tags Giovanni Ridolfi
2012-11-09 17:17 ` tags Samuel Wales
-- strict thread matches above, loose matches on Subject: below --
2011-01-23 8:12 TAGS simon cossar
2011-01-23 11:17 ` TAGS Peter Dyballa
2011-01-23 15:24 ` TAGS Perry Smith
2011-01-23 16:28 ` TAGS Peter Dyballa
2011-01-24 0:59 ` TAGS simon cossar
[not found] ` <mailman.5.1295830797.28254.help-gnu-emacs@gnu.org>
2011-01-24 3:53 ` TAGS rusi
[not found] ` <mailman.7.1295800089.26013.help-gnu-emacs@gnu.org>
2011-01-23 16:43 ` TAGS rusi
2011-01-23 21:50 ` TAGS simon cossar
[not found] ` <mailman.2.1295781488.8995.help-gnu-emacs@gnu.org>
2011-01-23 11:31 ` TAGS Alain Ketterlin
[not found] <mailman.938.1073284523.868.help-gnu-emacs@gnu.org>
2004-01-05 7:13 ` TAGS Friedrich Dominicus
2004-01-05 5:30 TAGS Jack Wang
2004-01-05 6:01 ` TAGS Eli Zaretskii
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.