This file is indexed.

/usr/share/doc/tkdesk/tkdesk-doc/guide-11.html is in tkdesk 2.0-9.1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.20">
 <TITLE>TkDesk User's Guide: Tips and Tricks </TITLE>
 <LINK HREF="guide-10.html" REL=previous>
 <LINK HREF="guide.html#toc11" REL=contents>
</HEAD>
<BODY>
Next
<A HREF="guide-10.html">Previous</A>
<A HREF="guide.html#toc11">Contents</A>
<HR>
<H2><A NAME="s11">11.</A> <A HREF="guide.html#toc11">Tips and Tricks </A></H2>


<P>This section currently contains just one tip on how to combine TkDesk
and XEmacs. If <B>you</B> have any procs or other stuff in your
configuration file which you consider could be useful for others as
well, or just think it's generally cool, please send me an email, so
that I can add it to this section! Thanks!</P>

<H2><A NAME="ss11.1">11.1</A> <A HREF="guide.html#toc11.1">TkDesk and XEmacs </A>
</H2>


<P>If you are using XEmacs 19.12 or later you can couple TkDesk and
XEmacs quite closely together by adding the following proc 
into any of your configuration files (I have it in
&quot;Popups&quot;):</P>
<P>
<BLOCKQUOTE><CODE>
<HR>
<PRE>
proc xemacs_load {what {where same}} {
    switch $where {
        "same" {
            exec gnudoit -q (find-file \"$what\")
        }
        "other" {
            exec gnudoit -q (find-file-other-window \"$what\")
        }
        "frame" {
            exec gnudoit -q (find-file-other-frame \"$what\")
        }
        "scratch" {
            exec gnudoit -q (switch-to-buffer-other-frame \"*scratch*\")
        }
    }
}
</PRE>
<HR>
</CODE></BLOCKQUOTE>
</P>
<P>And now my generic popup menu for files matching <CODE>*</CODE> reads:</P>
<P>
<BLOCKQUOTE><CODE>
<HR>
<PRE>
    {{*} {
        {{Edit} {dsk_edit %s}}
        {{XEmacs} {xemacs_load %s}}
        {{Other Window} {xemacs_load %s other}}
        {{Other Frame} {xemacs_load %s frame}}
        -
        {{Print} {dsk_print %s}}
    }}
</PRE>
<HR>
</CODE></BLOCKQUOTE>
</P>
<P>This way you can load files from TkDesk into a running XEmacs! This
assumes that you have the command <CODE>gnudoit</CODE> somewhere in your
path, and have started the XEmacs server. This can be done by adding
the following line to your <CODE>~/.emacs</CODE>:</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
(gnuserv-start)
</PRE>
</CODE></BLOCKQUOTE>
</P>

<HR>
Next
<A HREF="guide-10.html">Previous</A>
<A HREF="guide.html#toc11">Contents</A>
</BODY>
</HTML>