ofs | hex dump | ascii |
---|
0000 | 3b 45 4c 43 17 00 00 00 0a 3b 3b 3b 20 43 6f 6d 70 69 6c 65 64 20 62 79 20 6c 75 6b 65 40 48 50 | ;ELC.....;;;.Compiled.by.luke@HP |
0020 | 2d 64 76 36 34 32 36 75 73 2d 75 31 30 31 30 20 6f 6e 20 53 75 6e 20 46 65 62 20 32 37 20 31 32 | -dv6426us-u1010.on.Sun.Feb.27.12 |
0040 | 3a 35 36 3a 35 37 20 32 30 31 31 0a 3b 3b 3b 20 66 72 6f 6d 20 66 69 6c 65 20 2f 68 6f 6d 65 2f | :56:57.2011.;;;.from.file./home/ |
0060 | 6c 75 6b 65 2f 2e 65 6d 61 63 73 2e 64 2f 6f 72 67 2d 37 2e 34 2f 6c 69 73 70 2f 6f 72 67 2d 61 | luke/.emacs.d/org-7.4/lisp/org-a |
0080 | 74 74 61 63 68 2e 65 6c 0a 3b 3b 3b 20 69 6e 20 45 6d 61 63 73 20 76 65 72 73 69 6f 6e 20 32 33 | ttach.el.;;;.in.Emacs.version.23 |
00a0 | 2e 31 2e 31 0a 3b 3b 3b 20 77 69 74 68 20 61 6c 6c 20 6f 70 74 69 6d 69 7a 61 74 69 6f 6e 73 2e | .1.1.;;;.with.all.optimizations. |
00c0 | 0a 0a 3b 3b 3b 20 54 68 69 73 20 66 69 6c 65 20 75 73 65 73 20 64 79 6e 61 6d 69 63 20 64 6f 63 | ..;;;.This.file.uses.dynamic.doc |
00e0 | 73 74 72 69 6e 67 73 2c 20 66 69 72 73 74 20 61 64 64 65 64 20 69 6e 20 45 6d 61 63 73 20 31 39 | strings,.first.added.in.Emacs.19 |
0100 | 2e 32 39 2e 0a 28 69 66 20 28 61 6e 64 20 28 62 6f 75 6e 64 70 20 27 65 6d 61 63 73 2d 76 65 72 | .29..(if.(and.(boundp.'emacs-ver |
0120 | 73 69 6f 6e 29 0a 09 20 28 3c 20 28 61 72 65 66 20 65 6d 61 63 73 2d 76 65 72 73 69 6f 6e 20 28 | sion)...(<.(aref.emacs-version.( |
0140 | 31 2d 20 28 6c 65 6e 67 74 68 20 65 6d 61 63 73 2d 76 65 72 73 69 6f 6e 29 29 29 20 3f 41 29 0a | 1-.(length.emacs-version))).?A). |
0160 | 09 20 28 6f 72 20 28 61 6e 64 20 28 62 6f 75 6e 64 70 20 27 65 70 6f 63 68 3a 3a 76 65 72 73 69 | ..(or.(and.(boundp.'epoch::versi |
0180 | 6f 6e 29 20 65 70 6f 63 68 3a 3a 76 65 72 73 69 6f 6e 29 0a 09 20 20 20 20 20 28 73 74 72 69 6e | on).epoch::version).......(strin |
01a0 | 67 2d 6c 65 73 73 70 20 65 6d 61 63 73 2d 76 65 72 73 69 6f 6e 20 22 31 39 2e 32 39 22 29 29 29 | g-lessp.emacs-version."19.29"))) |
01c0 | 0a 20 20 20 20 28 65 72 72 6f 72 20 22 60 6f 72 67 2d 61 74 74 61 63 68 2e 65 6c 27 20 77 61 73 | .....(error."`org-attach.el'.was |
01e0 | 20 63 6f 6d 70 69 6c 65 64 20 66 6f 72 20 45 6d 61 63 73 20 31 39 2e 32 39 20 6f 72 20 6c 61 74 | .compiled.for.Emacs.19.29.or.lat |
0200 | 65 72 22 29 29 0a 0a 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b | er"))..;;;;;;;;;;;;;;;;;;;;;;;;; |
0220 | 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
0240 | 3b 3b 3b 3b 3b 3b 3b 3b 3b 3b 0a 0a 0a 28 62 79 74 65 2d 63 6f 64 65 20 22 5c 33 30 30 5c 33 30 | ;;;;;;;;;;...(byte-code."\300\30 |
0260 | 31 21 5c 32 31 30 5c 33 30 30 5c 33 30 32 21 5c 32 31 30 5c 33 30 33 5c 33 30 34 5c 33 30 35 5c | 1!\210\300\302!\210\303\304\305\ |
0280 | 33 30 36 5c 33 30 37 5c 33 31 30 5c 33 31 31 5c 33 30 32 26 07 5c 32 30 37 22 20 5b 72 65 71 75 | 306\307\310\311\302&.\207".[requ |
02a0 | 69 72 65 20 6f 72 67 2d 69 64 20 6f 72 67 20 63 75 73 74 6f 6d 2d 64 65 63 6c 61 72 65 2d 67 72 | ire.org-id.org.custom-declare-gr |
02c0 | 6f 75 70 20 6f 72 67 2d 61 74 74 61 63 68 20 6e 69 6c 20 22 4f 70 74 69 6f 6e 73 20 63 6f 6e 63 | oup.org-attach.nil."Options.conc |
02e0 | 65 72 6e 69 6e 67 20 65 6e 74 72 79 20 61 74 74 61 63 68 6d 65 6e 74 73 20 69 6e 20 4f 72 67 2d | erning.entry.attachments.in.Org- |
0300 | 6d 6f 64 65 2e 22 20 3a 74 61 67 20 22 4f 72 67 20 41 74 74 61 63 68 22 20 3a 67 72 6f 75 70 5d | mode.".:tag."Org.Attach".:group] |
0320 | 20 38 29 0a 23 40 31 34 38 20 54 68 65 20 64 69 72 65 63 74 6f 72 79 20 77 68 65 72 65 20 61 74 | .8).#@148.The.directory.where.at |
0340 | 74 61 63 68 6d 65 6e 74 73 20 61 72 65 20 73 74 6f 72 65 64 2e 0a 49 66 20 74 68 69 73 20 69 73 | tachments.are.stored..If.this.is |
0360 | 20 61 20 72 65 6c 61 74 69 76 65 20 70 61 74 68 2c 20 69 74 20 77 69 6c 6c 20 62 65 20 69 6e 74 | .a.relative.path,.it.will.be.int |
0380 | 65 72 70 72 65 74 65 64 20 72 65 6c 61 74 69 76 65 20 74 6f 20 74 68 65 20 64 69 72 65 63 74 6f | erpreted.relative.to.the.directo |
03a0 | 72 79 0a 77 68 65 72 65 20 74 68 65 20 4f 72 67 20 66 69 6c 65 20 6c 69 76 65 73 2e 1f 0a 28 63 | ry.where.the.Org.file.lives...(c |
03c0 | 75 73 74 6f 6d 2d 64 65 63 6c 61 72 65 2d 76 61 72 69 61 62 6c 65 20 27 6f 72 67 2d 61 74 74 61 | ustom-declare-variable.'org-atta |
03e0 | 63 68 2d 64 69 72 65 63 74 6f 72 79 20 27 22 64 61 74 61 2f 22 20 27 28 23 24 20 2e 20 38 31 30 | ch-directory.'"data/".'(#$...810 |
0400 | 29 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 61 74 74 61 63 68 20 3a 74 79 70 65 20 27 64 69 72 65 | ).:group.'org-attach.:type.'dire |
0420 | 63 74 6f 72 79 29 0a 23 40 37 35 20 54 61 67 20 74 68 61 74 20 77 69 6c 6c 20 62 65 20 74 72 69 | ctory).#@75.Tag.that.will.be.tri |
0440 | 67 67 65 72 65 64 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 77 68 65 6e 20 61 6e 20 65 6e 74 | ggered.automatically.when.an.ent |
0460 | 72 79 20 68 61 73 20 61 6e 20 61 74 74 61 63 68 6d 65 6e 74 2e 1f 0a 28 63 75 73 74 6f 6d 2d 64 | ry.has.an.attachment...(custom-d |
0480 | 65 63 6c 61 72 65 2d 76 61 72 69 61 62 6c 65 20 27 6f 72 67 2d 61 74 74 61 63 68 2d 61 75 74 6f | eclare-variable.'org-attach-auto |
04a0 | 2d 74 61 67 20 27 22 41 54 54 41 43 48 22 20 27 28 23 24 20 2e 20 31 30 36 38 29 20 3a 67 72 6f | -tag.'"ATTACH".'(#$...1068).:gro |
04c0 | 75 70 20 27 6f 72 67 2d 61 74 74 61 63 68 20 3a 74 79 70 65 20 27 28 63 68 6f 69 63 65 20 28 63 | up.'org-attach.:type.'(choice.(c |
04e0 | 6f 6e 73 74 20 3a 74 61 67 20 22 4e 6f 6e 65 22 20 6e 69 6c 29 20 28 73 74 72 69 6e 67 20 3a 74 | onst.:tag."None".nil).(string.:t |
0500 | 61 67 20 22 54 61 67 22 29 29 29 0a 23 40 32 35 39 20 54 68 65 20 70 72 6f 70 65 72 74 79 20 75 | ag."Tag"))).#@259.The.property.u |
0520 | 73 65 64 20 74 6f 20 6b 65 65 70 20 61 20 6c 69 73 74 20 6f 66 20 61 74 74 61 63 68 6d 65 6e 74 | sed.to.keep.a.list.of.attachment |
0540 | 20 62 65 6c 6f 6e 67 69 6e 67 20 74 6f 20 74 68 69 73 20 65 6e 74 72 79 2e 0a 54 68 69 73 20 69 | .belonging.to.this.entry..This.i |
0560 | 73 20 6e 6f 74 20 72 65 61 6c 6c 79 20 6e 65 65 64 65 64 2c 20 73 6f 20 79 6f 75 20 6d 61 79 20 | s.not.really.needed,.so.you.may. |
0580 | 73 65 74 20 74 68 69 73 20 74 6f 20 6e 69 6c 20 69 66 20 79 6f 75 20 64 6f 6e 27 74 20 77 61 6e | set.this.to.nil.if.you.don't.wan |
05a0 | 74 20 69 74 2e 0a 41 6c 73 6f 2c 20 66 6f 72 20 65 6e 74 72 69 65 73 20 77 68 65 72 65 20 63 68 | t.it..Also,.for.entries.where.ch |
05c0 | 69 6c 64 72 65 6e 20 69 6e 68 65 72 69 74 20 74 68 65 20 64 69 72 65 63 74 6f 72 79 2c 20 74 68 | ildren.inherit.the.directory,.th |
05e0 | 65 20 6c 69 73 74 20 6f 66 0a 61 74 74 61 63 68 6d 65 6e 74 73 20 69 73 20 6e 6f 74 20 6b 65 70 | e.list.of.attachments.is.not.kep |
0600 | 74 20 69 6e 20 74 68 69 73 20 70 72 6f 70 65 72 74 79 2e 1f 0a 28 63 75 73 74 6f 6d 2d 64 65 63 | t.in.this.property...(custom-dec |
0620 | 6c 61 72 65 2d 76 61 72 69 61 62 6c 65 20 27 6f 72 67 2d 61 74 74 61 63 68 2d 66 69 6c 65 2d 6c | lare-variable.'org-attach-file-l |
0640 | 69 73 74 2d 70 72 6f 70 65 72 74 79 20 27 22 41 74 74 61 63 68 6d 65 6e 74 73 22 20 27 28 23 24 | ist-property.'"Attachments".'(#$ |
0660 | 20 2e 20 31 32 39 38 29 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 61 74 74 61 63 68 20 3a 74 79 70 | ...1298).:group.'org-attach.:typ |
0680 | 65 20 27 28 63 68 6f 69 63 65 20 28 63 6f 6e 73 74 20 3a 74 61 67 20 22 4e 6f 6e 65 22 20 6e 69 | e.'(choice.(const.:tag."None".ni |
06a0 | 6c 29 20 28 73 74 72 69 6e 67 20 3a 74 61 67 20 22 54 61 67 22 29 29 29 0a 23 40 32 36 31 20 54 | l).(string.:tag."Tag"))).#@261.T |
06c0 | 68 65 20 70 72 65 66 65 72 72 65 64 20 6d 65 74 68 6f 64 20 74 6f 20 61 74 74 61 63 68 20 61 20 | he.preferred.method.to.attach.a. |
06e0 | 66 69 6c 65 2e 0a 41 6c 6c 6f 77 65 64 20 76 61 6c 75 65 73 20 61 72 65 3a 0a 0a 6d 76 20 20 20 | file..Allowed.values.are:..mv... |
0700 | 20 72 65 6e 61 6d 65 20 74 68 65 20 66 69 6c 65 20 74 6f 20 6d 6f 76 65 20 69 74 20 69 6e 74 6f | .rename.the.file.to.move.it.into |
0720 | 20 74 68 65 20 61 74 74 61 63 68 6d 65 6e 74 20 64 69 72 65 63 74 6f 72 79 0a 63 70 20 20 20 20 | .the.attachment.directory.cp.... |
0740 | 63 6f 70 79 20 74 68 65 20 66 69 6c 65 0a 6c 6e 20 20 20 20 63 72 65 61 74 65 20 61 20 68 61 72 | copy.the.file.ln....create.a.har |
0760 | 64 20 6c 69 6e 6b 2e 20 20 4e 6f 74 65 20 74 68 61 74 20 74 68 69 73 20 69 73 20 6e 6f 74 20 73 | d.link...Note.that.this.is.not.s |
0780 | 75 70 70 6f 72 74 65 64 0a 20 20 20 20 20 20 6f 6e 20 61 6c 6c 20 73 79 73 74 65 6d 73 2c 20 61 | upported.......on.all.systems,.a |
07a0 | 6e 64 20 74 68 65 6e 20 74 68 65 20 72 65 73 75 6c 74 20 69 73 20 6e 6f 74 20 64 65 66 69 6e 65 | nd.then.the.result.is.not.define |
07c0 | 64 2e 1f 0a 28 63 75 73 74 6f 6d 2d 64 65 63 6c 61 72 65 2d 76 61 72 69 61 62 6c 65 20 27 6f 72 | d...(custom-declare-variable.'or |
07e0 | 67 2d 61 74 74 61 63 68 2d 6d 65 74 68 6f 64 20 27 27 63 70 20 27 28 23 24 20 2e 20 31 37 32 37 | g-attach-method.''cp.'(#$...1727 |
0800 | 29 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 61 74 74 61 63 68 20 3a 74 79 70 65 20 27 28 63 68 6f | ).:group.'org-attach.:type.'(cho |
0820 | 69 63 65 20 28 63 6f 6e 73 74 20 3a 74 61 67 20 22 43 6f 70 79 22 20 63 70 29 20 28 63 6f 6e 73 | ice.(const.:tag."Copy".cp).(cons |
0840 | 74 20 3a 74 61 67 20 22 4d 6f 76 65 2f 52 65 6e 61 6d 65 22 20 6d 76 29 20 28 63 6f 6e 73 74 20 | t.:tag."Move/Rename".mv).(const. |
0860 | 3a 74 61 67 20 22 4c 69 6e 6b 22 20 6c 6e 29 29 29 0a 23 40 37 33 20 4e 6f 6e 2d 6e 69 6c 20 6d | :tag."Link".ln))).#@73.Non-nil.m |
0880 | 65 61 6e 73 20 64 6f 20 6e 6f 74 20 73 68 6f 77 20 74 68 65 20 73 70 6c 61 73 68 20 62 75 66 66 | eans.do.not.show.the.splash.buff |
08a0 | 65 72 20 77 69 74 68 20 74 68 65 20 61 74 74 61 63 68 20 64 69 73 70 61 74 63 68 65 72 2e 1f 0a | er.with.the.attach.dispatcher... |
08c0 | 28 63 75 73 74 6f 6d 2d 64 65 63 6c 61 72 65 2d 76 61 72 69 61 62 6c 65 20 27 6f 72 67 2d 61 74 | (custom-declare-variable.'org-at |
08e0 | 74 61 63 68 2d 65 78 70 65 72 74 20 27 6e 69 6c 20 27 28 23 24 20 2e 20 32 31 36 37 29 20 3a 67 | tach-expert.'nil.'(#$...2167).:g |
0900 | 72 6f 75 70 20 27 6f 72 67 2d 61 74 74 61 63 68 20 3a 74 79 70 65 20 27 62 6f 6f 6c 65 61 6e 29 | roup.'org-attach.:type.'boolean) |
0920 | 0a 23 40 35 38 20 4e 6f 6e 2d 6e 69 6c 20 6d 65 61 6e 73 20 61 6c 6c 6f 77 20 61 74 74 61 63 68 | .#@58.Non-nil.means.allow.attach |
0940 | 6d 65 6e 74 20 64 69 72 65 63 74 6f 72 69 65 73 20 62 65 20 69 6e 68 65 72 69 74 65 64 2e 1f 0a | ment.directories.be.inherited... |
0960 | 28 63 75 73 74 6f 6d 2d 64 65 63 6c 61 72 65 2d 76 61 72 69 61 62 6c 65 20 27 6f 72 67 2d 61 74 | (custom-declare-variable.'org-at |
0980 | 74 61 63 68 2d 61 6c 6c 6f 77 2d 69 6e 68 65 72 69 74 61 6e 63 65 20 27 74 20 27 28 23 24 20 2e | tach-allow-inheritance.'t.'(#$.. |
09a0 | 20 32 33 34 32 29 20 3a 67 72 6f 75 70 20 27 6f 72 67 2d 61 74 74 61 63 68 20 3a 74 79 70 65 20 | .2342).:group.'org-attach.:type. |
09c0 | 27 62 6f 6f 6c 65 61 6e 29 0a 23 40 37 33 20 49 6e 64 69 63 61 74 65 73 20 69 66 20 74 68 65 20 | 'boolean).#@73.Indicates.if.the. |
09e0 | 6c 61 73 74 20 61 63 63 65 73 73 20 74 6f 20 74 68 65 20 61 74 74 61 63 68 6d 65 6e 74 20 64 69 | last.access.to.the.attachment.di |
0a00 | 72 65 63 74 6f 72 79 20 77 61 73 20 69 6e 68 65 72 69 74 65 64 2e 1f 0a 28 64 65 66 76 61 72 20 | rectory.was.inherited...(defvar. |
0a20 | 6f 72 67 2d 61 74 74 61 63 68 2d 69 6e 68 65 72 69 74 65 64 20 6e 69 6c 20 28 23 24 20 2e 20 32 | org-attach-inherited.nil.(#$...2 |
0a40 | 35 31 31 29 29 0a 23 40 31 31 36 20 54 68 65 20 64 69 73 70 61 74 63 68 65 72 20 66 6f 72 20 61 | 511)).#@116.The.dispatcher.for.a |
0a60 | 74 74 61 63 68 6d 65 6e 74 20 63 6f 6d 6d 61 6e 64 73 2e 0a 53 68 6f 77 73 20 61 20 6c 69 73 74 | ttachment.commands..Shows.a.list |
0a80 | 20 6f 66 20 63 6f 6d 6d 61 6e 64 73 20 61 6e 64 20 70 72 6f 6d 70 74 73 20 66 6f 72 20 61 6e 6f | .of.commands.and.prompts.for.ano |
0aa0 | 74 68 65 72 20 6b 65 79 20 74 6f 20 65 78 65 63 75 74 65 20 61 20 63 6f 6d 6d 61 6e 64 2e 1f 0a | ther.key.to.execute.a.command... |
0ac0 | 28 64 65 66 61 6c 69 61 73 20 27 6f 72 67 2d 61 74 74 61 63 68 20 23 5b 6e 69 6c 20 22 5c 33 30 | (defalias.'org-attach.#[nil."\30 |
0ae0 | 34 5c 32 31 31 18 19 5c 6e 5c 33 30 35 3d 5c 32 30 33 1e 00 5c 33 30 36 60 5c 33 30 37 5c 22 5c | 4\211..\n\305=\203..\306`\307\"\ |
0b00 | 32 30 36 15 00 5c 33 30 36 60 5c 33 31 30 5c 22 5c 32 31 31 10 5c 32 30 34 1e 00 5c 33 31 31 5c | 206..\306`\310\"\211.\204..\311\ |
0b20 | 33 31 32 21 5c 32 31 30 5c 32 31 32 08 5c 32 30 33 2b 00 5c 33 31 33 08 21 71 5c 32 31 30 08 62 | 312!\210\212.\203+.\313.!q\210.b |
0b40 | 5c 32 31 30 5c 33 31 34 5c 33 31 35 21 5c 32 31 30 5c 32 31 32 5c 33 31 36 5c 32 31 33 5c 32 31 | \210\314\315!\210\212\316\213\21 |
0b60 | 30 29 09 5c 33 31 37 3e 5c 32 30 33 40 00 5c 33 32 30 5c 33 32 31 21 5c 32 30 32 5c 33 36 35 00 | 0).\317>\203@.\320\321!\202\365. |
0b80 | 09 5c 33 32 32 3e 5c 32 30 33 4f 00 5c 33 32 33 1b 5c 33 32 30 5c 33 32 31 21 29 5c 32 30 32 5c | .\322>\203O.\323.\320\321!)\202\ |
0ba0 | 33 36 35 00 09 5c 33 32 34 3e 5c 32 30 33 5e 00 5c 33 32 35 1b 5c 33 32 30 5c 33 32 31 21 29 5c | 365..\324>\203^.\325.\320\321!)\ |
0bc0 | 32 30 32 5c 33 36 35 00 09 5c 33 32 36 3e 5c 32 30 33 6d 00 5c 33 32 37 1b 5c 33 32 30 5c 33 32 | 202\365..\326>\203m.\327.\320\32 |
0be0 | 31 21 29 5c 32 30 32 5c 33 36 35 00 09 5c 33 33 30 3e 5c 32 30 33 79 00 5c 33 32 30 5c 33 33 31 | 1!)\202\365..\330>\203y.\320\331 |
0c00 | 21 5c 32 30 32 5c 33 36 35 00 09 5c 33 33 32 3e 5c 32 30 33 5c 32 30 35 00 5c 33 32 30 5c 33 33 | !\202\365..\332>\203\205.\320\33 |
0c20 | 33 21 5c 32 30 32 5c 33 36 35 00 09 5c 33 33 34 3e 5c 32 30 33 5c 32 32 31 00 5c 33 32 30 5c 33 | 3!\202\365..\334>\203\221.\320\3 |
0c40 | 33 35 21 5c 32 30 32 5c 33 36 35 00 09 5c 33 33 36 3d 5c 32 30 33 5c 32 33 35 00 5c 33 32 30 5c | 35!\202\365..\336=\203\235.\320\ |
0c60 | 33 33 37 21 5c 32 30 32 5c 33 36 35 00 09 5c 33 34 30 3e 5c 32 30 33 5c 32 35 31 00 5c 33 32 30 | 337!\202\365..\340>\203\251.\320 |
0c80 | 5c 33 34 31 21 5c 32 30 32 5c 33 36 35 00 09 5c 33 34 32 3e 5c 32 30 33 5c 32 36 35 00 5c 33 32 | \341!\202\365..\342>\203\265.\32 |
0ca0 | 30 5c 33 34 33 21 5c 32 30 32 5c 33 36 35 00 09 5c 33 34 34 3e 5c 32 30 33 5c 33 30 31 00 5c 33 | 0\343!\202\365..\344>\203\301.\3 |
0cc0 | 32 30 5c 33 34 35 21 5c 32 30 32 5c 33 36 35 00 09 5c 33 34 36 3d 5c 32 30 33 5c 33 31 35 00 5c | 20\345!\202\365..\346=\203\315.\ |
0ce0 | 33 32 30 5c 33 34 37 21 5c 32 30 32 5c 33 36 35 00 09 5c 33 35 30 3d 5c 32 30 33 5c 33 33 31 00 | 320\347!\202\365..\350=\203\331. |
0d00 | 5c 33 35 31 5c 33 35 32 21 5c 32 30 32 5c 33 36 35 00 09 5c 33 35 33 3e 5c 32 30 33 5c 33 34 35 | \351\352!\202\365..\353>\203\345 |
0d20 | 00 5c 33 32 30 5c 33 35 34 21 5c 32 30 32 5c 33 36 35 00 09 5c 33 35 35 3e 5c 32 30 33 5c 33 36 | .\320\354!\202\365..\355>\203\36 |
0d40 | 31 00 5c 33 32 30 5c 33 35 36 21 5c 32 30 32 5c 33 36 35 00 5c 33 31 31 5c 33 35 37 09 5c 22 2b | 1.\320\356!\202\365.\311\357.\"+ |
0d60 | 5c 32 30 37 22 20 5b 6d 61 72 6b 65 72 20 63 20 6d 61 6a 6f 72 2d 6d 6f 64 65 20 6f 72 67 2d 61 | \207".[marker.c.major-mode.org-a |
0d80 | 74 74 61 63 68 2d 6d 65 74 68 6f 64 20 6e 69 6c 20 6f 72 67 2d 61 67 65 6e 64 61 2d 6d 6f 64 65 | ttach-method.nil.org-agenda-mode |
0da0 | 20 67 65 74 2d 74 65 78 74 2d 70 72 6f 70 65 72 74 79 20 6f 72 67 2d 68 64 2d 6d 61 72 6b 65 72 | .get-text-property.org-hd-marker |
0dc0 | 20 6f 72 67 2d 6d 61 72 6b 65 72 20 65 72 72 6f 72 20 22 4e 6f 20 74 61 73 6b 20 69 6e 20 63 75 | .org-marker.error."No.task.in.cu |
0de0 | 72 72 65 6e 74 20 6c 69 6e 65 22 20 6d 61 72 6b 65 72 2d 62 75 66 66 65 72 20 6f 72 67 2d 62 61 | rrent.line".marker-buffer.org-ba |
0e00 | 63 6b 2d 74 6f 2d 68 65 61 64 69 6e 67 20 74 20 28 28 62 79 74 65 2d 63 6f 64 65 20 22 08 5c 32 | ck-to-heading.t.((byte-code.".\2 |
0e20 | 30 34 0b 00 5c 33 30 32 5c 32 32 30 5c 33 30 33 5c 33 30 34 21 5c 32 32 31 5c 32 31 30 5c 33 30 | 04..\302\220\303\304!\221\210\30 |
0e40 | 35 5c 33 30 36 5c 33 30 32 21 21 5c 32 31 30 5c 33 30 37 5c 33 31 30 21 5c 32 31 30 5c 33 31 31 | 5\306\302!!\210\307\310!\210\311 |
0e60 | 20 11 5c 33 31 32 5c 33 30 32 21 5c 32 30 33 5c 22 00 5c 33 31 33 5c 33 30 32 21 5c 32 31 30 5c | ..\312\302!\203\".\313\302!\210\ |
0e80 | 33 30 33 5c 32 30 37 22 20 5b 6f 72 67 2d 61 74 74 61 63 68 2d 65 78 70 65 72 74 20 63 20 22 2a | 303\207".[org-attach-expert.c."* |
0ea0 | 4f 72 67 20 41 74 74 61 63 68 2a 22 20 70 72 69 6e 63 20 22 53 65 6c 65 63 74 20 61 6e 20 41 74 | Org.Attach*".princ."Select.an.At |
0ec0 | 74 61 63 68 6d 65 6e 74 20 43 6f 6d 6d 61 6e 64 3a 5c 6e 5c 6e 61 20 20 20 20 20 20 20 53 65 6c | tachment.Command:\n\na.......Sel |
0ee0 | 65 63 74 20 61 20 66 69 6c 65 20 61 6e 64 20 61 74 74 61 63 68 20 69 74 20 74 6f 20 74 68 65 20 | ect.a.file.and.attach.it.to.the. |
0f00 | 74 61 73 6b 2c 20 75 73 69 6e 67 20 60 6f 72 67 2d 61 74 74 61 63 68 2d 6d 65 74 68 6f 64 27 2e | task,.using.`org-attach-method'. |
0f20 | 5c 6e 63 2f 6d 2f 6c 20 20 20 41 74 74 61 63 68 20 61 20 66 69 6c 65 20 75 73 69 6e 67 20 63 6f | \nc/m/l...Attach.a.file.using.co |
0f40 | 70 79 2f 6d 6f 76 65 2f 6c 69 6e 6b 20 6d 65 74 68 6f 64 2e 5c 6e 6e 20 20 20 20 20 20 20 43 72 | py/move/link.method.\nn.......Cr |
0f60 | 65 61 74 65 20 61 20 6e 65 77 20 61 74 74 61 63 68 6d 65 6e 74 2c 20 61 73 20 61 6e 20 45 6d 61 | eate.a.new.attachment,.as.an.Ema |
0f80 | 63 73 20 62 75 66 66 65 72 2e 5c 6e 7a 20 20 20 20 20 20 20 53 79 6e 63 68 72 6f 6e 69 7a 65 20 | cs.buffer.\nz.......Synchronize. |
0fa0 | 74 68 65 20 63 75 72 72 65 6e 74 20 74 61 73 6b 20 77 69 74 68 20 69 74 73 20 61 74 74 61 63 68 | the.current.task.with.its.attach |
0fc0 | 6d 65 6e 74 5c 6e 20 20 20 20 20 20 20 20 64 69 72 65 63 74 6f 72 79 2c 20 69 6e 20 63 61 73 65 | ment\n........directory,.in.case |
0fe0 | 20 79 6f 75 20 61 64 64 65 64 20 61 74 74 61 63 68 6d 65 6e 74 73 20 79 6f 75 72 73 65 6c 66 2e | .you.added.attachments.yourself. |
1000 | 5c 6e 5c 6e 6f 20 20 20 20 20 20 20 4f 70 65 6e 20 63 75 72 72 65 6e 74 20 74 61 73 6b 27 73 20 | \n\no.......Open.current.task's. |
1020 | 61 74 74 61 63 68 6d 65 6e 74 73 2e 5c 6e 4f 20 20 20 20 20 20 20 4c 69 6b 65 20 5c 22 6f 5c 22 | attachments.\nO.......Like.\"o\" |
1040 | 2c 20 62 75 74 20 66 6f 72 63 65 20 6f 70 65 6e 69 6e 67 20 69 6e 20 45 6d 61 63 73 2e 5c 6e 66 | ,.but.force.opening.in.Emacs.\nf |
1060 | 20 20 20 20 20 20 20 4f 70 65 6e 20 63 75 72 72 65 6e 74 20 74 61 73 6b 27 73 20 61 74 74 61 63 | .......Open.current.task's.attac |
1080 | 68 6d 65 6e 74 20 64 69 72 65 63 74 6f 72 79 2e 5c 6e 46 20 20 20 20 20 20 20 4c 69 6b 65 20 5c | hment.directory.\nF.......Like.\ |
10a0 | 22 66 5c 22 2c 20 62 75 74 20 66 6f 72 63 65 20 75 73 69 6e 67 20 64 69 72 65 64 20 69 6e 20 45 | "f\",.but.force.using.dired.in.E |
10c0 | 6d 61 63 73 2e 5c 6e 5c 6e 64 20 20 20 20 20 20 20 44 65 6c 65 74 65 20 6f 6e 65 20 61 74 74 61 | macs.\n\nd.......Delete.one.atta |
10e0 | 63 68 6d 65 6e 74 2c 20 79 6f 75 20 77 69 6c 6c 20 62 65 20 70 72 6f 6d 70 74 65 64 20 66 6f 72 | chment,.you.will.be.prompted.for |
1100 | 20 61 20 66 69 6c 65 20 6e 61 6d 65 2e 5c 6e 44 20 20 20 20 20 20 20 44 65 6c 65 74 65 20 61 6c | .a.file.name.\nD.......Delete.al |
1120 | 6c 20 6f 66 20 61 20 74 61 73 6b 27 73 20 61 74 74 61 63 68 6d 65 6e 74 73 2e 20 20 41 20 73 61 | l.of.a.task's.attachments...A.sa |
1140 | 66 65 72 20 77 61 79 20 69 73 5c 6e 20 20 20 20 20 20 20 20 74 6f 20 6f 70 65 6e 20 74 68 65 20 | fer.way.is\n........to.open.the. |
1160 | 64 69 72 65 63 74 6f 72 79 20 69 6e 20 64 69 72 65 64 20 61 6e 64 20 64 65 6c 65 74 65 20 66 72 | directory.in.dired.and.delete.fr |
1180 | 6f 6d 20 74 68 65 72 65 2e 5c 6e 5c 6e 73 20 20 20 20 20 20 20 53 65 74 20 61 20 73 70 65 63 69 | om.there.\n\ns.......Set.a.speci |
11a0 | 66 69 63 20 61 74 74 61 63 68 6d 65 6e 74 20 64 69 72 65 63 74 6f 72 79 20 66 6f 72 20 74 68 69 | fic.attachment.directory.for.thi |
11c0 | 73 20 65 6e 74 72 79 2e 5c 6e 69 20 20 20 20 20 20 20 4d 61 6b 65 20 63 68 69 6c 64 72 65 6e 20 | s.entry.\ni.......Make.children. |
11e0 | 6f 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 65 6e 74 72 79 20 69 6e 68 65 72 69 74 20 69 74 73 | of.the.current.entry.inherit.its |
1200 | 20 61 74 74 61 63 68 6d 65 6e 74 20 64 69 72 65 63 74 6f 72 79 2e 22 20 6f 72 67 2d 66 69 74 2d | .attachment.directory.".org-fit- |
1220 | 77 69 6e 64 6f 77 2d 74 6f 2d 62 75 66 66 65 72 20 67 65 74 2d 62 75 66 66 65 72 2d 77 69 6e 64 | window-to-buffer.get-buffer-wind |
1240 | 6f 77 20 6d 65 73 73 61 67 65 20 22 53 65 6c 65 63 74 20 63 6f 6d 6d 61 6e 64 3a 20 5b 61 63 6d | ow.message."Select.command:.[acm |
1260 | 6c 7a 6f 4f 66 46 64 44 5d 22 20 72 65 61 64 2d 63 68 61 72 2d 65 78 63 6c 75 73 69 76 65 20 67 | lzoOfFdD]".read-char-exclusive.g |
1280 | 65 74 2d 62 75 66 66 65 72 20 6b 69 6c 6c 2d 62 75 66 66 65 72 5d 20 33 29 29 20 28 39 37 20 31 | et-buffer.kill-buffer].3)).(97.1 |
12a0 | 29 20 63 61 6c 6c 2d 69 6e 74 65 72 61 63 74 69 76 65 6c 79 20 6f 72 67 2d 61 74 74 61 63 68 2d | ).call-interactively.org-attach- |
12c0 | 61 74 74 61 63 68 20 28 39 39 20 33 29 20 63 70 20 28 31 30 39 20 31 33 29 20 6d 76 20 28 31 30 | attach.(99.3).cp.(109.13).mv.(10 |
12e0 | 38 20 31 32 29 20 6c 6e 20 28 31 31 30 20 31 34 29 20 6f 72 67 2d 61 74 74 61 63 68 2d 6e 65 77 | 8.12).ln.(110.14).org-attach-new |
1300 | 20 28 31 32 32 20 32 36 29 20 6f 72 67 2d 61 74 74 61 63 68 2d 73 79 6e 63 20 28 31 31 31 20 31 | .(122.26).org-attach-sync.(111.1 |
1320 | 35 29 20 6f 72 67 2d 61 74 74 61 63 68 2d 6f 70 65 6e 20 37 39 20 6f 72 67 2d 61 74 74 61 63 68 | 5).org-attach-open.79.org-attach |
1340 | 2d 6f 70 65 6e 2d 69 6e 2d 65 6d 61 63 73 20 28 31 30 32 20 36 29 20 6f 72 67 2d 61 74 74 61 63 | -open-in-emacs.(102.6).org-attac |
1360 | 68 2d 72 65 76 65 61 6c 20 28 37 30 29 20 6f 72 67 2d 61 74 74 61 63 68 2d 72 65 76 65 61 6c 2d | h-reveal.(70).org-attach-reveal- |
1380 | 69 6e 2d 65 6d 61 63 73 20 28 31 30 30 20 34 29 20 6f 72 67 2d 61 74 74 61 63 68 2d 64 65 6c 65 | in-emacs.(100.4).org-attach-dele |
13a0 | 74 65 2d 6f 6e 65 20 36 38 20 6f 72 67 2d 61 74 74 61 63 68 2d 64 65 6c 65 74 65 2d 61 6c 6c 20 | te-one.68.org-attach-delete-all. |
13c0 | 31 31 33 20 6d 65 73 73 61 67 65 20 22 41 62 6f 72 74 22 20 28 31 31 35 20 31 39 29 20 6f 72 67 | 113.message."Abort".(115.19).org |
13e0 | 2d 61 74 74 61 63 68 2d 73 65 74 2d 64 69 72 65 63 74 6f 72 79 20 28 31 30 35 20 39 29 20 6f 72 | -attach-set-directory.(105.9).or |
1400 | 67 2d 61 74 74 61 63 68 2d 73 65 74 2d 69 6e 68 65 72 69 74 20 22 4e 6f 20 73 75 63 68 20 61 74 | g-attach-set-inherit."No.such.at |
1420 | 74 61 63 68 6d 65 6e 74 20 63 6f 6d 6d 61 6e 64 20 25 63 22 5d 20 34 20 28 23 24 20 2e 20 32 36 | tachment.command.%c"].4.(#$...26 |
1440 | 33 36 29 20 6e 69 6c 5d 29 0a 23 40 34 33 36 20 52 65 74 75 72 6e 20 74 68 65 20 64 69 72 65 63 | 36).nil]).#@436.Return.the.direc |
1460 | 74 6f 72 79 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 74 68 65 20 63 75 72 72 65 6e 74 | tory.associated.with.the.current |
1480 | 20 65 6e 74 72 79 2e 0a 54 68 69 73 20 66 69 72 73 74 20 63 68 65 63 6b 73 20 66 6f 72 20 61 20 | .entry..This.first.checks.for.a. |
14a0 | 6c 6f 63 61 6c 20 70 72 6f 70 65 72 74 79 20 41 54 54 41 43 48 5f 44 49 52 2c 20 61 6e 64 20 74 | local.property.ATTACH_DIR,.and.t |
14c0 | 68 65 6e 20 66 6f 72 20 61 6e 20 69 6e 68 65 72 69 74 65 64 0a 70 72 6f 70 65 72 74 79 20 41 54 | hen.for.an.inherited.property.AT |
14e0 | 54 41 43 48 5f 44 49 52 5f 49 4e 48 45 52 49 54 2e 20 20 49 66 20 6e 65 69 74 68 65 72 20 65 78 | TACH_DIR_INHERIT...If.neither.ex |
1500 | 69 73 74 73 2c 20 74 68 65 20 64 65 66 61 75 6c 74 20 6d 65 63 68 61 6e 69 73 6d 0a 75 73 69 6e | ists,.the.default.mechanism.usin |
1520 | 67 20 74 68 65 20 65 6e 74 72 79 20 49 44 20 77 69 6c 6c 20 62 65 20 69 6e 76 6f 6b 65 64 20 74 | g.the.entry.ID.will.be.invoked.t |
1540 | 6f 20 61 63 63 65 73 73 20 74 68 65 20 75 6e 69 71 75 65 20 64 69 72 65 63 74 6f 72 79 20 66 6f | o.access.the.unique.directory.fo |
1560 | 72 20 74 68 65 0a 63 75 72 72 65 6e 74 20 65 6e 74 72 79 2e 0a 49 66 20 74 68 65 20 64 69 72 65 | r.the.current.entry..If.the.dire |
1580 | 63 74 6f 72 79 20 64 6f 65 73 20 6e 6f 74 20 65 78 69 73 74 20 61 6e 64 20 43 52 45 41 54 45 2d | ctory.does.not.exist.and.CREATE- |
15a0 | 49 46 2d 4e 4f 54 2d 45 58 49 53 54 53 2d 50 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 0a 74 68 65 20 | IF-NOT-EXISTS-P.is.non-nil,.the. |
15c0 | 64 69 72 65 63 74 6f 72 79 20 61 6e 64 20 28 69 66 20 6e 65 63 65 73 73 61 72 79 29 20 74 68 65 | directory.and.(if.necessary).the |
15e0 | 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 49 44 20 77 69 6c 6c 20 62 65 20 63 72 65 61 74 65 | .corresponding.ID.will.be.create |
1600 | 64 2e 1f 0a 28 64 65 66 61 6c 69 61 73 20 27 6f 72 67 2d 61 74 74 61 63 68 2d 64 69 72 20 23 5b | d...(defalias.'org-attach-dir.#[ |
1620 | 28 26 6f 70 74 69 6f 6e 61 6c 20 63 72 65 61 74 65 2d 69 66 2d 6e 6f 74 2d 65 78 69 73 74 73 2d | (&optional.create-if-not-exists- |
1640 | 70 29 20 22 5c 33 30 36 5c 32 31 31 5c 32 31 31 18 19 1a 5c 33 30 37 5c 33 30 36 5c 33 31 30 5c | p)."\306\211\211...\307\306\310\ |
1660 | 22 13 5c 33 30 37 5c 33 30 36 5c 33 31 31 5c 22 5c 32 31 31 12 5c 32 30 33 1b 00 5c 33 31 32 5c | ".\307\306\311\"\211.\203..\312\ |
1680 | 6e 21 5c 32 31 30 5c 32 30 32 6e 00 5c 66 5c 32 30 33 41 00 5c 33 30 37 5c 33 30 36 5c 33 31 30 | n!\210\202n.\f\203A.\307\306\310 |
16a0 | 5c 33 31 33 23 5c 32 31 31 10 5c 32 30 33 41 00 5c 32 31 32 5c 32 31 34 7e 5c 32 31 30 0d 62 5c | \313#\211.\203A.\212\214~\210.b\ |
16c0 | 32 31 30 5c 33 30 36 1c 5c 33 31 34 0e 18 21 2b 12 5c 33 31 32 5c 6e 21 5c 32 31 30 5c 33 31 33 | 210\306.\314..!+.\312\n!\210\313 |
16e0 | 13 5c 32 30 32 6e 00 5c 33 31 32 5c 33 30 36 21 5c 32 31 30 5c 33 31 35 60 0e 18 5c 22 5c 32 31 | .\202n.\312\306!\210\315`..\"\21 |
1700 | 31 11 5c 32 30 34 54 00 0e 18 5c 32 30 33 6e 00 09 5c 32 30 34 5c 5c 00 5c 33 31 36 5c 33 31 37 | 1.\204T...\203n..\204\\.\316\317 |
1720 | 21 5c 32 31 30 5c 33 32 30 5c 33 32 31 5c 33 32 32 09 5c 33 32 33 5c 33 32 34 4f 09 5c 33 32 34 | !\210\320\321\322.\323\324O.\324 |
1740 | 5c 33 30 36 4f 23 5c 33 32 30 0e 19 21 5c 22 12 5c 6e 5c 32 30 35 5c 32 31 31 00 0e 18 5c 32 30 | \306O#\320..!\".\n\205\211...\20 |
1760 | 33 5c 32 30 32 00 5c 33 32 35 5c 6e 21 5c 32 30 34 5c 32 30 32 00 5c 33 32 36 5c 6e 5c 33 31 33 | 3\202.\325\n!\204\202.\326\n\313 |
1780 | 5c 22 5c 32 31 30 5c 33 32 37 5c 6e 21 5c 32 30 35 5c 32 31 31 00 5c 6e 2b 5c 32 30 37 22 20 5b | \"\210\327\n!\205\211.\n+\207".[ |
17a0 | 69 6e 68 65 72 69 74 20 75 75 69 64 20 61 74 74 61 63 68 2d 64 69 72 20 6f 72 67 2d 61 74 74 61 | inherit.uuid.attach-dir.org-atta |
17c0 | 63 68 2d 69 6e 68 65 72 69 74 65 64 20 6f 72 67 2d 61 74 74 61 63 68 2d 61 6c 6c 6f 77 2d 69 6e | ch-inherited.org-attach-allow-in |
17e0 | 68 65 72 69 74 61 6e 63 65 20 6f 72 67 2d 65 6e 74 72 79 2d 70 72 6f 70 65 72 74 79 2d 69 6e 68 | heritance.org-entry-property-inh |
1800 | 65 72 69 74 65 64 2d 66 72 6f 6d 20 6e 69 6c 20 6f 72 67 2d 65 6e 74 72 79 2d 67 65 74 20 22 41 | erited-from.nil.org-entry-get."A |
1820 | 54 54 41 43 48 5f 44 49 52 5f 49 4e 48 45 52 49 54 22 20 22 41 54 54 41 43 48 5f 44 49 52 22 20 | TTACH_DIR_INHERIT"."ATTACH_DIR". |
1840 | 6f 72 67 2d 61 74 74 61 63 68 2d 63 68 65 63 6b 2d 61 62 73 6f 6c 75 74 65 2d 70 61 74 68 20 74 | org-attach-check-absolute-path.t |
1860 | 20 6f 72 67 2d 61 74 74 61 63 68 2d 64 69 72 20 6f 72 67 2d 69 64 2d 67 65 74 20 65 72 72 6f 72 | .org-attach-dir.org-id-get.error |
1880 | 20 22 49 44 20 72 65 74 72 69 65 76 61 6c 2f 63 72 65 61 74 69 6f 6e 20 66 61 69 6c 65 64 22 20 | ."ID.retrieval/creation.failed". |
18a0 | 65 78 70 61 6e 64 2d 66 69 6c 65 2d 6e 61 6d 65 20 66 6f 72 6d 61 74 20 22 25 73 2f 25 73 22 20 | expand-file-name.format."%s/%s". |
18c0 | 30 20 32 20 66 69 6c 65 2d 64 69 72 65 63 74 6f 72 79 2d 70 20 6d 61 6b 65 2d 64 69 72 65 63 74 | 0.2.file-directory-p.make-direct |
18e0 | 6f 72 79 20 66 69 6c 65 2d 65 78 69 73 74 73 2d 70 20 63 72 65 61 74 65 2d 69 66 2d 6e 6f 74 2d | ory.file-exists-p.create-if-not- |
1900 | 65 78 69 73 74 73 2d 70 20 6f 72 67 2d 61 74 74 61 63 68 2d 64 69 72 65 63 74 6f 72 79 5d 20 38 | exists-p.org-attach-directory].8 |
1920 | 20 28 23 24 20 2e 20 35 32 30 30 29 5d 29 0a 23 40 33 32 31 20 43 68 65 63 6b 20 69 66 20 77 65 | .(#$...5200)]).#@321.Check.if.we |
1940 | 20 68 61 76 65 20 65 6e 6f 75 67 68 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 74 6f 20 72 6f 6f 74 | .have.enough.information.to.root |
1960 | 20 74 68 65 20 61 74 74 61 63 68 6d 65 6e 74 20 64 69 72 65 63 74 6f 72 79 2e 0a 57 68 65 6e 20 | .the.attachment.directory..When. |
1980 | 44 49 52 20 69 73 20 67 69 76 65 6e 2c 20 63 68 65 63 6b 20 61 6c 73 6f 20 69 66 20 69 74 20 69 | DIR.is.given,.check.also.if.it.i |
19a0 | 73 20 61 6c 72 65 61 64 79 20 61 62 73 6f 6c 75 74 65 2e 20 20 4f 74 68 65 72 77 69 73 65 2c 0a | s.already.absolute...Otherwise,. |
19c0 | 61 73 73 75 6d 65 20 74 68 61 74 20 69 74 20 77 69 6c 6c 20 62 65 20 72 65 6c 61 74 69 76 65 2c | assume.that.it.will.be.relative, |
19e0 | 20 61 6e 64 20 63 68 65 63 6b 20 69 66 20 60 6f 72 67 2d 61 74 74 61 63 68 2d 64 69 72 65 63 74 | .and.check.if.`org-attach-direct |
1a00 | 6f 72 79 27 20 69 73 0a 61 62 73 6f 6c 75 74 65 2c 20 6f 72 20 69 66 20 61 74 20 6c 65 61 73 74 | ory'.is.absolute,.or.if.at.least |
1a20 | 20 74 68 65 20 63 75 72 72 65 6e 74 20 62 75 66 66 65 72 20 68 61 73 20 61 20 66 69 6c 65 20 6e | .the.current.buffer.has.a.file.n |
1a40 | 61 6d 65 2e 0a 54 68 72 6f 77 20 61 6e 20 65 72 72 6f 72 20 69 66 20 77 65 20 63 61 6e 6e 6f 74 | ame..Throw.an.error.if.we.cannot |
1a60 | 20 72 6f 6f 74 20 74 68 65 20 64 69 72 65 63 74 6f 72 79 2e 1f 0a 28 64 65 66 61 6c 69 61 73 20 | .root.the.directory...(defalias. |
1a80 | 27 6f 72 67 2d 61 74 74 61 63 68 2d 63 68 65 63 6b 2d 61 62 73 6f 6c 75 74 65 2d 70 61 74 68 20 | 'org-attach-check-absolute-path. |
1aa0 | 23 5b 28 64 69 72 29 20 22 08 5c 32 30 33 5c 6e 00 5c 33 30 32 08 21 5c 32 30 36 1a 00 5c 33 30 | #[(dir).".\203\n.\302.!\206..\30 |
1ac0 | 32 09 21 5c 32 30 36 1a 00 5c 33 30 33 5c 33 30 34 20 21 5c 32 30 36 1a 00 5c 33 30 35 5c 33 30 | 2.!\206..\303\304.!\206..\305\30 |
1ae0 | 36 21 5c 32 30 37 22 20 5b 64 69 72 20 6f 72 67 2d 61 74 74 61 63 68 2d 64 69 72 65 63 74 6f 72 | 6!\207".[dir.org-attach-director |
1b00 | 79 20 66 69 6c 65 2d 6e 61 6d 65 2d 61 62 73 6f 6c 75 74 65 2d 70 20 62 75 66 66 65 72 2d 66 69 | y.file-name-absolute-p.buffer-fi |
1b20 | 6c 65 2d 6e 61 6d 65 20 62 75 66 66 65 72 2d 62 61 73 65 2d 62 75 66 66 65 72 20 65 72 72 6f 72 | le-name.buffer-base-buffer.error |
1b40 | 20 22 4e 65 65 64 20 61 62 73 6f 6c 75 74 65 20 60 6f 72 67 2d 61 74 74 61 63 68 2d 64 69 72 65 | ."Need.absolute.`org-attach-dire |
1b60 | 63 74 6f 72 79 27 20 74 6f 20 61 74 74 61 63 68 20 69 6e 20 62 75 66 66 65 72 73 20 77 69 74 68 | ctory'.to.attach.in.buffers.with |
1b80 | 6f 75 74 20 66 69 6c 65 6e 61 6d 65 22 5d 20 32 20 28 23 24 20 2e 20 36 34 35 33 29 5d 29 0a 23 | out.filename"].2.(#$...6453)]).# |
1ba0 | 40 31 32 39 20 53 65 74 20 74 68 65 20 41 54 54 41 43 48 5f 44 49 52 20 70 72 6f 70 65 72 74 79 | @129.Set.the.ATTACH_DIR.property |
1bc0 | 20 6f 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 65 6e 74 72 79 2e 0a 54 68 65 20 70 72 6f 70 65 | .of.the.current.entry..The.prope |
1be0 | 72 74 79 20 64 65 66 69 6e 65 73 20 74 68 65 20 64 69 72 65 63 74 6f 72 79 20 74 68 61 74 20 69 | rty.defines.the.directory.that.i |
1c00 | 73 20 75 73 65 64 20 66 6f 72 20 61 74 74 61 63 68 6d 65 6e 74 73 0a 6f 66 20 74 68 65 20 65 6e | s.used.for.attachments.of.the.en |
1c20 | 74 72 79 2e 1f 0a 28 64 65 66 61 6c 69 61 73 20 27 6f 72 67 2d 61 74 74 61 63 68 2d 73 65 74 2d | try...(defalias.'org-attach-set- |
1c40 | 64 69 72 65 63 74 6f 72 79 20 23 5b 6e 69 6c 20 22 5c 33 30 31 5c 33 30 32 5c 33 30 33 5c 22 18 | directory.#[nil."\301\302\303\". |
1c60 | 5c 33 30 34 5c 33 30 35 08 5c 22 10 5c 33 30 36 5c 33 30 32 5c 33 30 33 08 23 29 5c 32 30 37 22 | \304\305.\".\306\302\303.#)\207" |
1c80 | 20 5b 64 69 72 20 6f 72 67 2d 65 6e 74 72 79 2d 67 65 74 20 6e 69 6c 20 22 41 54 54 41 43 48 5f | .[dir.org-entry-get.nil."ATTACH_ |
1ca0 | 44 49 52 22 20 72 65 61 64 2d 64 69 72 65 63 74 6f 72 79 2d 6e 61 6d 65 20 22 41 74 74 61 63 68 | DIR".read-directory-name."Attach |
1cc0 | 6d 65 6e 74 20 64 69 72 65 63 74 6f 72 79 3a 20 22 20 6f 72 67 2d 65 6e 74 72 79 2d 70 75 74 5d | ment.directory:.".org-entry-put] |
1ce0 | 20 34 20 28 23 24 20 2e 20 37 30 37 37 29 20 6e 69 6c 5d 29 0a 23 40 32 35 32 20 53 65 74 20 74 | .4.(#$...7077).nil]).#@252.Set.t |
1d00 | 68 65 20 41 54 54 41 43 48 5f 44 49 52 5f 49 4e 48 45 52 49 54 20 70 72 6f 70 65 72 74 79 20 6f | he.ATTACH_DIR_INHERIT.property.o |
1d20 | 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 65 6e 74 72 79 2e 0a 54 68 65 20 70 72 6f 70 65 72 74 | f.the.current.entry..The.propert |
1d40 | 79 20 64 65 66 69 6e 65 73 20 74 68 65 20 64 69 72 65 63 74 6f 72 79 20 74 68 61 74 20 69 73 20 | y.defines.the.directory.that.is. |
1d60 | 75 73 65 64 20 66 6f 72 20 61 74 74 61 63 68 6d 65 6e 74 73 0a 6f 66 20 74 68 65 20 65 6e 74 72 | used.for.attachments.of.the.entr |
1d80 | 79 20 61 6e 64 20 61 6e 79 20 63 68 69 6c 64 72 65 6e 20 74 68 61 74 20 64 6f 20 6e 6f 74 20 65 | y.and.any.children.that.do.not.e |
1da0 | 78 70 6c 69 63 69 74 6c 79 20 64 65 66 69 6e 65 20 28 62 79 20 73 65 74 74 69 6e 67 0a 74 68 65 | xplicitly.define.(by.setting.the |
1dc0 | 20 41 54 54 41 43 48 5f 44 49 52 20 70 72 6f 70 65 72 74 79 29 20 74 68 65 69 72 20 6f 77 6e 20 | .ATTACH_DIR.property).their.own. |
1de0 | 61 74 74 61 63 68 6d 65 6e 74 20 64 69 72 65 63 74 6f 72 79 2e 1f 0a 28 64 65 66 61 6c 69 61 73 | attachment.directory...(defalias |
1e00 | 20 27 6f 72 67 2d 61 74 74 61 63 68 2d 73 65 74 2d 69 6e 68 65 72 69 74 20 23 5b 6e 69 6c 20 22 | .'org-attach-set-inherit.#[nil." |
1e20 | 5c 33 30 30 5c 33 30 31 5c 33 30 32 5c 33 30 33 23 5c 32 31 30 5c 33 30 34 5c 33 30 35 21 5c 32 | \300\301\302\303#\210\304\305!\2 |
1e40 | 30 37 22 20 5b 6f 72 67 2d 65 6e 74 72 79 2d 70 75 74 20 6e 69 6c 20 22 41 54 54 41 43 48 5f 44 | 07".[org-entry-put.nil."ATTACH_D |
1e60 | 49 52 5f 49 4e 48 45 52 49 54 22 20 22 74 22 20 6d 65 73 73 61 67 65 20 22 43 68 69 6c 64 72 65 | IR_INHERIT"."t".message."Childre |
1e80 | 6e 20 77 69 6c 6c 20 69 6e 68 65 72 69 74 20 61 74 74 61 63 68 6d 65 6e 74 20 64 69 72 65 63 74 | n.will.inherit.attachment.direct |
1ea0 | 6f 72 79 22 5d 20 34 20 28 23 24 20 2e 20 37 34 31 39 29 20 6e 69 6c 5d 29 0a 23 40 31 34 35 20 | ory"].4.(#$...7419).nil]).#@145. |
1ec0 | 43 6f 6d 6d 69 74 20 63 68 61 6e 67 65 73 20 74 6f 20 67 69 74 20 69 66 20 60 6f 72 67 2d 61 74 | Commit.changes.to.git.if.`org-at |
1ee0 | 74 61 63 68 2d 64 69 72 65 63 74 6f 72 79 27 20 69 73 20 70 72 6f 70 65 72 6c 79 20 69 6e 69 74 | tach-directory'.is.properly.init |
1f00 | 69 61 6c 69 7a 65 64 2e 0a 54 68 69 73 20 63 68 65 63 6b 73 20 66 6f 72 20 74 68 65 20 65 78 69 | ialized..This.checks.for.the.exi |
1f20 | 73 74 65 6e 63 65 20 6f 66 20 61 20 22 2e 67 69 74 22 20 64 69 72 65 63 74 6f 72 79 20 69 6e 20 | stence.of.a.".git".directory.in. |
1f40 | 74 68 61 74 20 64 69 72 65 63 74 6f 72 79 2e 1f 0a 28 64 65 66 61 6c 69 61 73 20 27 6f 72 67 2d | that.directory...(defalias.'org- |
1f60 | 61 74 74 61 63 68 2d 63 6f 6d 6d 69 74 20 23 5b 6e 69 6c 20 22 5c 33 30 33 08 21 19 5c 33 30 34 | attach-commit.#[nil."\303.!.\304 |
1f80 | 5c 33 30 33 5c 33 30 35 09 5c 22 21 5c 32 30 35 31 00 5c 33 30 36 5c 33 30 37 21 1a 72 5c 6e 71 | \303\305.\"!\2051.\306\307!.r\nq |
1fa0 | 5c 32 31 30 5c 33 31 30 5c 32 31 36 5c 33 31 31 09 21 5c 32 31 30 5c 33 31 32 5c 33 31 33 21 5c | \210\310\216\311.!\210\312\313!\ |
1fc0 | 32 31 30 5c 33 31 32 5c 33 31 34 5c 33 31 35 5c 22 5c 32 31 30 5c 33 31 36 5c 33 31 37 5c 33 32 | 210\312\314\315\"\210\316\317\32 |
1fe0 | 30 5c 33 32 31 20 5c 33 32 32 5c 22 5c 22 5c 32 31 30 5c 33 31 32 5c 33 32 33 21 2b 29 5c 32 30 | 0\321.\322\"\"\210\312\323!+)\20 |
2000 | 37 22 20 5b 6f 72 67 2d 61 74 74 61 63 68 2d 64 69 72 65 63 74 6f 72 79 20 64 69 72 20 23 31 3d | 7".[org-attach-directory.dir.#1= |
2020 | 23 3a 74 65 6d 70 2d 62 75 66 66 65 72 20 65 78 70 61 6e 64 2d 66 69 6c 65 2d 6e 61 6d 65 20 66 | #:temp-buffer.expand-file-name.f |
2040 | 69 6c 65 2d 65 78 69 73 74 73 2d 70 20 22 2e 67 69 74 22 20 67 65 6e 65 72 61 74 65 2d 6e 65 77 | ile-exists-p.".git".generate-new |
2060 | 2d 62 75 66 66 65 72 20 22 20 2a 74 65 6d 70 2a 22 20 28 28 62 79 74 65 2d 63 6f 64 65 20 22 5c | -buffer.".*temp*".((byte-code."\ |
2080 | 33 30 31 08 21 5c 32 30 33 5c 6e 00 5c 33 30 32 08 21 5c 32 31 30 5c 33 30 31 5c 32 30 37 22 20 | 301.!\203\n.\302.!\210\301\207". |
20a0 | 5b 23 31 23 20 62 75 66 66 65 72 2d 6e 61 6d 65 20 6b 69 6c 6c 2d 62 75 66 66 65 72 5d 20 32 29 | [#1#.buffer-name.kill-buffer].2) |
20c0 | 29 20 63 64 20 73 68 65 6c 6c 2d 63 6f 6d 6d 61 6e 64 20 22 67 69 74 20 61 64 64 20 2e 22 20 22 | ).cd.shell-command."git.add.."." |
20e0 | 67 69 74 20 6c 73 2d 66 69 6c 65 73 20 2d 2d 64 65 6c 65 74 65 64 22 20 74 20 6d 61 70 63 20 23 | git.ls-files.--deleted".t.mapc.# |
2100 | 5b 28 66 69 6c 65 29 20 22 08 5c 33 30 31 5c 32 33 30 3f 5c 32 30 35 0d 00 5c 33 30 32 5c 33 30 | [(file).".\301\230?\205..\302\30 |
2120 | 33 08 5c 33 30 34 51 21 5c 32 30 37 22 20 5b 66 69 6c 65 20 22 22 20 73 68 65 6c 6c 2d 63 6f 6d | 3.\304Q!\207".[file."".shell-com |
2140 | 6d 61 6e 64 20 22 67 69 74 20 72 6d 20 5c 22 22 20 22 5c 22 22 5d 20 34 5d 20 73 70 6c 69 74 2d | mand."git.rm.\""."\""].4].split- |
2160 | 73 74 72 69 6e 67 20 62 75 66 66 65 72 2d 73 74 72 69 6e 67 20 22 5c 6e 22 20 22 67 69 74 20 63 | string.buffer-string."\n"."git.c |
2180 | 6f 6d 6d 69 74 20 2d 6d 20 27 53 79 6e 63 68 72 6f 6e 69 7a 65 64 20 61 74 74 61 63 68 6d 65 6e | ommit.-m.'Synchronized.attachmen |
21a0 | 74 73 27 22 5d 20 35 20 28 23 24 20 2e 20 37 38 37 32 29 5d 29 0a 23 40 34 35 20 54 75 72 6e 20 | ts'"].5.(#$...7872)]).#@45.Turn. |
21c0 | 74 68 65 20 61 75 74 6f 74 61 67 20 6f 6e 20 6f 72 20 28 69 66 20 4f 46 46 20 69 73 20 73 65 74 | the.autotag.on.or.(if.OFF.is.set |
21e0 | 29 20 6f 66 66 2e 1f 0a 28 64 65 66 61 6c 69 61 73 20 27 6f 72 67 2d 61 74 74 61 63 68 2d 74 61 | ).off...(defalias.'org-attach-ta |
2200 | 67 20 23 5b 28 26 6f 70 74 69 6f 6e 61 6c 20 6f 66 66 29 20 22 08 5c 32 30 35 16 00 5c 32 31 32 | g.#[(&optional.off).".\205..\212 |
2220 | 5c 33 30 32 5c 33 30 33 21 5c 32 31 30 5c 33 30 34 08 09 5c 32 30 33 13 00 5c 33 30 31 5c 32 30 | \302\303!\210\304..\203..\301\20 |
2240 | 32 14 00 5c 33 30 35 5c 22 29 5c 32 30 37 22 20 5b 6f 72 67 2d 61 74 74 61 63 68 2d 61 75 74 6f | 2..\305\")\207".[org-attach-auto |
2260 | 2d 74 61 67 20 6f 66 66 20 6f 72 67 2d 62 61 63 6b 2d 74 6f 2d 68 65 61 64 69 6e 67 20 74 20 6f | -tag.off.org-back-to-heading.t.o |
2280 | 72 67 2d 74 6f 67 67 6c 65 2d 74 61 67 20 6f 6e 5d 20 33 20 28 23 24 20 2e 20 38 36 33 35 29 5d | rg-toggle-tag.on].3.(#$...8635)] |
22a0 | 29 0a 23 40 32 33 20 54 75 72 6e 20 74 68 65 20 61 75 74 6f 74 61 67 20 6f 66 66 2e 1f 0a 28 64 | ).#@23.Turn.the.autotag.off...(d |
22c0 | 65 66 61 6c 69 61 73 20 27 6f 72 67 2d 61 74 74 61 63 68 2d 75 6e 74 61 67 20 23 5b 6e 69 6c 20 | efalias.'org-attach-untag.#[nil. |
22e0 | 22 5c 33 30 30 5c 33 30 31 21 5c 32 30 37 22 20 5b 6f 72 67 2d 61 74 74 61 63 68 2d 74 61 67 20 | "\300\301!\207".[org-attach-tag. |
2300 | 6f 66 66 5d 20 32 20 28 23 24 20 2e 20 38 38 37 31 29 5d 29 0a 23 40 32 30 34 20 4d 6f 76 65 2f | off].2.(#$...8871)]).#@204.Move/ |
2320 | 63 6f 70 79 2f 6c 69 6e 6b 20 46 49 4c 45 20 69 6e 74 6f 20 74 68 65 20 61 74 74 61 63 68 6d 65 | copy/link.FILE.into.the.attachme |
2340 | 6e 74 20 64 69 72 65 63 74 6f 72 79 20 6f 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 74 61 73 6b | nt.directory.of.the.current.task |
2360 | 2e 0a 49 66 20 56 49 53 49 54 2d 44 49 52 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 20 76 69 73 69 74 | ..If.VISIT-DIR.is.non-nil,.visit |
2380 | 20 74 68 65 20 64 69 72 65 63 74 6f 72 79 20 77 69 74 68 20 64 69 72 65 64 2e 0a 4d 45 54 48 4f | .the.directory.with.dired..METHO |
23a0 | 44 20 6d 61 79 20 62 65 20 60 63 70 27 2c 20 60 6d 76 27 2c 20 6f 72 20 60 6c 6e 27 2c 20 64 65 | D.may.be.`cp',.`mv',.or.`ln',.de |
23c0 | 66 61 75 6c 74 20 74 61 6b 65 6e 20 66 72 6f 6d 20 60 6f 72 67 2d 61 74 74 61 63 68 2d 6d 65 74 | fault.taken.from.`org-attach-met |
23e0 | 68 6f 64 27 2e 1f 0a 28 64 65 66 61 6c 69 61 73 20 27 6f 72 67 2d 61 74 74 61 63 68 2d 61 74 74 | hod'...(defalias.'org-attach-att |
2400 | 61 63 68 20 23 5b 28 66 69 6c 65 20 26 6f 70 74 69 6f 6e 61 6c 20 76 69 73 69 74 2d 64 69 72 20 | ach.#[(file.&optional.visit-dir. |
2420 | 6d 65 74 68 6f 64 29 20 22 08 5c 32 30 36 05 00 09 10 5c 33 30 36 5c 6e 21 1b 5c 66 5c 32 30 33 | method).".\206....\306\n!.\f\203 |
2440 | 18 00 0d 5c 32 30 34 18 00 5c 33 30 37 60 5c 66 0b 23 5c 32 31 30 5c 33 31 30 5c 33 31 31 21 1e | ...\204..\307`\f.#\210\310\311!. |
2460 | 16 5c 33 31 32 0b 0e 16 5c 22 1e 17 08 5c 33 31 33 3d 5c 32 30 33 33 00 5c 33 31 34 5c 6e 0e 17 | .\312...\"...\313=\2033.\314\n.. |
2480 | 5c 22 5c 32 31 30 5c 32 30 32 4e 00 08 5c 33 31 35 3d 5c 32 30 33 42 00 5c 33 31 36 5c 6e 0e 17 | \"\210\202N..\315=\203B.\316\n.. |
24a0 | 5c 22 5c 32 31 30 5c 32 30 32 4e 00 08 5c 33 31 37 3d 5c 32 30 33 4e 00 5c 33 32 30 5c 6e 0e 17 | \"\210\202N..\317=\203N.\320\n.. |
24c0 | 5c 22 5c 32 31 30 5c 33 32 31 20 5c 32 31 30 5c 33 32 32 20 5c 32 31 30 0e 18 5c 32 30 33 60 00 | \"\210\321.\210\322.\210..\203`. |
24e0 | 5c 33 32 33 0e 16 21 5c 32 30 32 64 00 5c 33 32 34 5c 33 32 35 0b 5c 22 2b 5c 32 30 37 22 20 5b | \323..!\202d.\324\325.\"+\207".[ |
2500 | 6d 65 74 68 6f 64 20 6f 72 67 2d 61 74 74 61 63 68 2d 6d 65 74 68 6f 64 20 66 69 6c 65 20 62 61 | method.org-attach-method.file.ba |
2520 | 73 65 6e 61 6d 65 20 6f 72 67 2d 61 74 74 61 63 68 2d 66 69 6c 65 2d 6c 69 73 74 2d 70 72 6f 70 | sename.org-attach-file-list-prop |
2540 | 65 72 74 79 20 6f 72 67 2d 61 74 74 61 63 68 2d 69 6e 68 65 72 69 74 65 64 20 66 69 6c 65 2d 6e | erty.org-attach-inherited.file-n |
2560 | 61 6d 65 2d 6e 6f 6e 64 69 72 65 63 74 6f 72 79 20 6f 72 67 2d 65 6e 74 72 79 2d 61 64 64 2d 74 | ame-nondirectory.org-entry-add-t |
2580 | 6f 2d 6d 75 6c 74 69 76 61 6c 75 65 64 2d 70 72 6f 70 65 72 74 79 20 6f 72 67 2d 61 74 74 61 63 | o-multivalued-property.org-attac |
25a0 | 68 2d 64 69 72 20 74 20 65 78 70 61 6e 64 2d 66 69 6c 65 2d 6e 61 6d 65 20 6d 76 20 72 65 6e 61 | h-dir.t.expand-file-name.mv.rena |
25c0 | 6d 65 2d 66 69 6c 65 20 63 70 20 63 6f 70 79 2d 66 69 6c 65 20 6c 6e 20 61 64 64 2d 6e 61 6d 65 | me-file.cp.copy-file.ln.add-name |
25e0 | 2d 74 6f 2d 66 69 6c 65 20 6f 72 67 2d 61 74 74 61 63 68 2d 63 6f 6d 6d 69 74 20 6f 72 67 2d 61 | -to-file.org-attach-commit.org-a |
2600 | 74 74 61 63 68 2d 74 61 67 20 64 69 72 65 64 20 6d 65 73 73 61 67 65 20 22 46 69 6c 65 20 5c 22 | ttach-tag.dired.message."File.\" |
2620 | 25 73 5c 22 20 69 73 20 6e 6f 77 20 61 20 74 61 73 6b 20 61 74 74 61 63 68 6d 65 6e 74 2e 22 20 | %s\".is.now.a.task.attachment.". |
2640 | 61 74 74 61 63 68 2d 64 69 72 20 66 6e 61 6d 65 20 76 69 73 69 74 2d 64 69 72 5d 20 34 20 28 23 | attach-dir.fname.visit-dir].4.(# |
2660 | 24 20 2e 20 38 39 38 37 29 20 22 66 46 69 6c 65 20 74 6f 20 6b 65 65 70 20 61 73 20 61 6e 20 61 | $...8987)."fFile.to.keep.as.an.a |
2680 | 74 74 61 63 68 6d 65 6e 74 3a 20 5c 6e 50 22 5d 29 0a 23 40 33 30 20 41 74 74 61 63 68 20 61 20 | ttachment:.\nP"]).#@30.Attach.a. |
26a0 | 66 69 6c 65 20 62 79 20 63 6f 70 79 69 6e 67 20 69 74 2e 1f 0a 28 64 65 66 61 6c 69 61 73 20 27 | file.by.copying.it...(defalias.' |
26c0 | 6f 72 67 2d 61 74 74 61 63 68 2d 61 74 74 61 63 68 2d 63 70 20 23 5b 6e 69 6c 20 22 5c 33 30 31 | org-attach-attach-cp.#[nil."\301 |
26e0 | 18 5c 33 30 32 5c 33 30 33 21 29 5c 32 30 37 22 20 5b 6f 72 67 2d 61 74 74 61 63 68 2d 6d 65 74 | .\302\303!)\207".[org-attach-met |
2700 | 68 6f 64 20 63 70 20 63 61 6c 6c 2d 69 6e 74 65 72 61 63 74 69 76 65 6c 79 20 6f 72 67 2d 61 74 | hod.cp.call-interactively.org-at |
2720 | 74 61 63 68 2d 61 74 74 61 63 68 5d 20 32 20 28 23 24 20 2e 20 39 38 37 39 29 20 6e 69 6c 5d 29 | tach-attach].2.(#$...9879).nil]) |
2740 | 0a 23 40 34 30 20 41 74 74 61 63 68 20 61 20 66 69 6c 65 20 62 79 20 6d 6f 76 69 6e 67 20 28 72 | .#@40.Attach.a.file.by.moving.(r |
2760 | 65 6e 61 6d 69 6e 67 29 20 69 74 2e 1f 0a 28 64 65 66 61 6c 69 61 73 20 27 6f 72 67 2d 61 74 74 | enaming).it...(defalias.'org-att |
2780 | 61 63 68 2d 61 74 74 61 63 68 2d 6d 76 20 23 5b 6e 69 6c 20 22 5c 33 30 31 18 5c 33 30 32 5c 33 | ach-attach-mv.#[nil."\301.\302\3 |
27a0 | 30 33 21 29 5c 32 30 37 22 20 5b 6f 72 67 2d 61 74 74 61 63 68 2d 6d 65 74 68 6f 64 20 6d 76 20 | 03!)\207".[org-attach-method.mv. |
27c0 | 63 61 6c 6c 2d 69 6e 74 65 72 61 63 74 69 76 65 6c 79 20 6f 72 67 2d 61 74 74 61 63 68 2d 61 74 | call-interactively.org-attach-at |
27e0 | 74 61 63 68 5d 20 32 20 28 23 24 20 2e 20 31 30 30 35 34 29 20 6e 69 6c 5d 29 0a 23 40 31 38 31 | tach].2.(#$...10054).nil]).#@181 |
2800 | 20 41 74 74 61 63 68 20 61 20 66 69 6c 65 20 62 79 20 63 72 65 61 74 69 6e 67 20 61 20 68 61 72 | .Attach.a.file.by.creating.a.har |
2820 | 64 20 6c 69 6e 6b 20 74 6f 20 69 74 2e 0a 42 65 77 61 72 65 20 74 68 61 74 20 74 68 69 73 20 64 | d.link.to.it..Beware.that.this.d |
2840 | 6f 65 73 20 6e 6f 74 20 77 6f 72 6b 20 6f 6e 20 73 79 73 74 65 6d 73 20 74 68 61 74 20 64 6f 20 | oes.not.work.on.systems.that.do. |
2860 | 6e 6f 74 20 73 75 70 70 6f 72 74 20 68 61 72 64 20 6c 69 6e 6b 73 2e 0a 4f 6e 20 73 6f 6d 65 20 | not.support.hard.links..On.some. |
2880 | 73 79 73 74 65 6d 73 2c 20 74 68 69 73 20 61 70 70 61 72 65 6e 74 6c 79 20 64 6f 65 73 20 63 6f | systems,.this.apparently.does.co |
28a0 | 70 79 20 74 68 65 20 66 69 6c 65 20 69 6e 73 74 65 61 64 2e 1f 0a 28 64 65 66 61 6c 69 61 73 20 | py.the.file.instead...(defalias. |
28c0 | 27 6f 72 67 2d 61 74 74 61 63 68 2d 61 74 74 61 63 68 2d 6c 6e 20 23 5b 6e 69 6c 20 22 5c 33 30 | 'org-attach-attach-ln.#[nil."\30 |
28e0 | 31 18 5c 33 30 32 5c 33 30 33 21 29 5c 32 30 37 22 20 5b 6f 72 67 2d 61 74 74 61 63 68 2d 6d 65 | 1.\302\303!)\207".[org-attach-me |
2900 | 74 68 6f 64 20 6c 6e 20 63 61 6c 6c 2d 69 6e 74 65 72 61 63 74 69 76 65 6c 79 20 6f 72 67 2d 61 | thod.ln.call-interactively.org-a |
2920 | 74 74 61 63 68 2d 61 74 74 61 63 68 5d 20 32 20 28 23 24 20 2e 20 31 30 32 34 31 29 20 6e 69 6c | ttach-attach].2.(#$...10241).nil |
2940 | 5d 29 0a 23 40 39 38 20 43 72 65 61 74 65 20 61 20 6e 65 77 20 61 74 74 61 63 68 6d 65 6e 74 20 | ]).#@98.Create.a.new.attachment. |
2960 | 46 49 4c 45 20 66 6f 72 20 74 68 65 20 63 75 72 72 65 6e 74 20 74 61 73 6b 2e 0a 54 68 65 20 61 | FILE.for.the.current.task..The.a |
2980 | 74 74 61 63 68 6d 65 6e 74 20 69 73 20 63 72 65 61 74 65 64 20 61 73 20 61 6e 20 45 6d 61 63 73 | ttachment.is.created.as.an.Emacs |
29a0 | 20 62 75 66 66 65 72 2e 1f 0a 28 64 65 66 61 6c 69 61 73 20 27 6f 72 67 2d 61 74 74 61 63 68 2d | .buffer...(defalias.'org-attach- |
29c0 | 6e 65 77 20 23 5b 28 66 69 6c 65 29 20 22 08 5c 32 30 33 0e 00 09 5c 32 30 34 0e 00 5c 33 30 34 | new.#[(file).".\203...\204..\304 |
29e0 | 60 08 5c 6e 23 5c 32 31 30 5c 33 30 35 5c 33 30 36 21 1b 5c 33 30 37 20 5c 32 31 30 5c 33 31 30 | `.\n#\210\305\306!.\307.\210\310 |
2a00 | 5c 33 31 31 5c 6e 0b 5c 22 21 5c 32 31 30 5c 33 31 32 5c 33 31 33 5c 6e 5c 22 29 5c 32 30 37 22 | \311\n.\"!\210\312\313\n\")\207" |
2a20 | 20 5b 6f 72 67 2d 61 74 74 61 63 68 2d 66 69 6c 65 2d 6c 69 73 74 2d 70 72 6f 70 65 72 74 79 20 | .[org-attach-file-list-property. |
2a40 | 6f 72 67 2d 61 74 74 61 63 68 2d 69 6e 68 65 72 69 74 65 64 20 66 69 6c 65 20 61 74 74 61 63 68 | org-attach-inherited.file.attach |
2a60 | 2d 64 69 72 20 6f 72 67 2d 65 6e 74 72 79 2d 61 64 64 2d 74 6f 2d 6d 75 6c 74 69 76 61 6c 75 65 | -dir.org-entry-add-to-multivalue |
2a80 | 64 2d 70 72 6f 70 65 72 74 79 20 6f 72 67 2d 61 74 74 61 63 68 2d 64 69 72 20 74 20 6f 72 67 2d | d-property.org-attach-dir.t.org- |
2aa0 | 61 74 74 61 63 68 2d 74 61 67 20 66 69 6e 64 2d 66 69 6c 65 20 65 78 70 61 6e 64 2d 66 69 6c 65 | attach-tag.find-file.expand-file |
2ac0 | 2d 6e 61 6d 65 20 6d 65 73 73 61 67 65 20 22 4e 65 77 20 61 74 74 61 63 68 6d 65 6e 74 20 25 73 | -name.message."New.attachment.%s |
2ae0 | 22 5d 20 34 20 28 23 24 20 2e 20 31 30 35 36 38 29 20 22 73 43 72 65 61 74 65 20 61 74 74 61 63 | "].4.(#$...10568)."sCreate.attac |
2b00 | 68 6d 65 6e 74 20 6e 61 6d 65 64 3a 20 22 5d 29 0a 23 40 32 39 20 44 65 6c 65 74 65 20 61 20 73 | hment.named:."]).#@29.Delete.a.s |
2b20 | 69 6e 67 6c 65 20 61 74 74 61 63 68 6d 65 6e 74 2e 1f 0a 28 64 65 66 61 6c 69 61 73 20 27 6f 72 | ingle.attachment...(defalias.'or |
2b40 | 67 2d 61 74 74 61 63 68 2d 64 65 6c 65 74 65 2d 6f 6e 65 20 23 5b 28 26 6f 70 74 69 6f 6e 61 6c | g-attach-delete-one.#[(&optional |
2b60 | 20 66 69 6c 65 29 20 22 5c 33 30 33 5c 33 30 34 21 18 5c 33 30 35 08 21 19 5c 6e 5c 32 30 36 13 | .file)."\303\304!.\305.!.\n\206. |
2b80 | 00 5c 33 30 36 5c 33 30 37 5c 33 31 30 5c 33 31 31 09 5c 22 5c 22 1a 5c 33 31 32 5c 6e 08 5c 22 | .\306\307\310\311.\"\".\312\n.\" |
2ba0 | 12 5c 33 31 33 5c 6e 21 5c 32 30 34 24 00 5c 33 31 34 5c 33 31 35 5c 6e 5c 22 5c 32 31 30 5c 33 | .\313\n!\204$.\314\315\n\"\210\3 |
2bc0 | 31 36 5c 6e 21 5c 32 31 30 5c 33 31 37 20 2b 5c 32 30 37 22 20 5b 61 74 74 61 63 68 2d 64 69 72 | 16\n!\210\317.+\207".[attach-dir |
2be0 | 20 66 69 6c 65 73 20 66 69 6c 65 20 6f 72 67 2d 61 74 74 61 63 68 2d 64 69 72 20 74 20 6f 72 67 | .files.file.org-attach-dir.t.org |
2c00 | 2d 61 74 74 61 63 68 2d 66 69 6c 65 2d 6c 69 73 74 20 6f 72 67 2d 69 63 6f 6d 70 6c 65 74 69 6e | -attach-file-list.org-icompletin |
2c20 | 67 2d 72 65 61 64 20 22 44 65 6c 65 74 65 20 61 74 74 61 63 68 6d 65 6e 74 3a 20 22 20 6d 61 70 | g-read."Delete.attachment:.".map |
2c40 | 63 61 72 20 23 5b 28 66 29 20 22 5c 33 30 31 08 21 43 5c 32 30 37 22 20 5b 66 20 66 69 6c 65 2d | car.#[(f)."\301.!C\207".[f.file- |
2c60 | 6e 61 6d 65 2d 6e 6f 6e 64 69 72 65 63 74 6f 72 79 5d 20 32 5d 20 65 78 70 61 6e 64 2d 66 69 6c | name-nondirectory].2].expand-fil |
2c80 | 65 2d 6e 61 6d 65 20 66 69 6c 65 2d 65 78 69 73 74 73 2d 70 20 65 72 72 6f 72 20 22 4e 6f 20 73 | e-name.file-exists-p.error."No.s |
2ca0 | 75 63 68 20 61 74 74 61 63 68 6d 65 6e 74 3a 20 25 73 22 20 64 65 6c 65 74 65 2d 66 69 6c 65 20 | uch.attachment:.%s".delete-file. |
2cc0 | 6f 72 67 2d 61 74 74 61 63 68 2d 63 6f 6d 6d 69 74 5d 20 35 20 28 23 24 20 2e 20 31 31 30 33 30 | org-attach-commit].5.(#$...11030 |
2ce0 | 29 20 6e 69 6c 5d 29 0a 23 40 31 37 31 20 44 65 6c 65 74 65 20 61 6c 6c 20 61 74 74 61 63 68 6d | ).nil]).#@171.Delete.all.attachm |
2d00 | 65 6e 74 73 20 66 72 6f 6d 20 74 68 65 20 63 75 72 72 65 6e 74 20 74 61 73 6b 2e 0a 54 68 69 73 | ents.from.the.current.task..This |
2d20 | 20 61 63 74 75 61 6c 6c 79 20 64 65 6c 65 74 65 73 20 74 68 65 20 65 6e 74 69 72 65 20 61 74 74 | .actually.deletes.the.entire.att |
2d40 | 61 63 68 6d 65 6e 74 20 64 69 72 65 63 74 6f 72 79 2e 0a 41 20 73 61 66 65 72 20 77 61 79 20 69 | achment.directory..A.safer.way.i |
2d60 | 73 20 74 6f 20 6f 70 65 6e 20 74 68 65 20 64 69 72 65 63 74 6f 72 79 20 69 6e 20 64 69 72 65 64 | s.to.open.the.directory.in.dired |
2d80 | 20 61 6e 64 20 64 65 6c 65 74 65 20 66 72 6f 6d 20 74 68 65 72 65 2e 1f 0a 28 64 65 66 61 6c 69 | .and.delete.from.there...(defali |
2da0 | 61 73 20 27 6f 72 67 2d 61 74 74 61 63 68 2d 64 65 6c 65 74 65 2d 61 6c 6c 20 23 5b 28 26 6f 70 | as.'org-attach-delete-all.#[(&op |
2dc0 | 74 69 6f 6e 61 6c 20 66 6f 72 63 65 29 20 22 08 5c 32 30 33 0d 00 09 5c 32 30 34 0d 00 5c 33 30 | tional.force).".\203...\204..\30 |
2de0 | 34 60 08 5c 22 5c 32 31 30 5c 33 30 35 20 5c 32 31 31 1a 5c 32 30 35 2e 00 0b 5c 32 30 34 1e 00 | 4`.\"\210\305.\211.\205...\204.. |
2e00 | 5c 33 30 36 5c 33 30 37 21 5c 32 30 35 2e 00 5c 33 31 30 5c 33 31 31 5c 33 31 32 5c 6e 5c 22 21 | \306\307!\205..\310\311\312\n\"! |
2e20 | 5c 32 31 30 5c 33 31 33 5c 33 31 34 21 5c 32 31 30 5c 33 31 35 20 5c 32 31 30 5c 33 31 36 20 29 | \210\313\314!\210\315.\210\316.) |
2e40 | 5c 32 30 37 22 20 5b 6f 72 67 2d 61 74 74 61 63 68 2d 66 69 6c 65 2d 6c 69 73 74 2d 70 72 6f 70 | \207".[org-attach-file-list-prop |
2e60 | 65 72 74 79 20 6f 72 67 2d 61 74 74 61 63 68 2d 69 6e 68 65 72 69 74 65 64 20 61 74 74 61 63 68 | erty.org-attach-inherited.attach |
2e80 | 2d 64 69 72 20 66 6f 72 63 65 20 6f 72 67 2d 65 6e 74 72 79 2d 64 65 6c 65 74 65 20 6f 72 67 2d | -dir.force.org-entry-delete.org- |
2ea0 | 61 74 74 61 63 68 2d 64 69 72 20 79 2d 6f 72 2d 6e 2d 70 20 22 41 72 65 20 79 6f 75 20 73 75 72 | attach-dir.y-or-n-p."Are.you.sur |
2ec0 | 65 20 79 6f 75 20 77 61 6e 74 20 74 6f 20 72 65 6d 6f 76 65 20 61 6c 6c 20 61 74 74 61 63 68 6d | e.you.want.to.remove.all.attachm |
2ee0 | 65 6e 74 73 20 6f 66 20 74 68 69 73 20 65 6e 74 72 79 3f 20 22 20 73 68 65 6c 6c 2d 63 6f 6d 6d | ents.of.this.entry?.".shell-comm |
2f00 | 61 6e 64 20 66 6f 72 6d 61 74 20 22 72 6d 20 2d 66 72 20 25 73 22 20 6d 65 73 73 61 67 65 20 22 | and.format."rm.-fr.%s".message." |
2f20 | 41 74 74 61 63 68 6d 65 6e 74 20 64 69 72 65 63 74 6f 72 79 20 72 65 6d 6f 76 65 64 22 20 6f 72 | Attachment.directory.removed".or |
2f40 | 67 2d 61 74 74 61 63 68 2d 63 6f 6d 6d 69 74 20 6f 72 67 2d 61 74 74 61 63 68 2d 75 6e 74 61 67 | g-attach-commit.org-attach-untag |
2f60 | 5d 20 35 20 28 23 24 20 2e 20 31 31 35 30 32 29 20 22 50 22 5d 29 0a 23 40 31 31 30 20 53 79 6e | ].5.(#$...11502)."P"]).#@110.Syn |
2f80 | 63 68 72 6f 6e 69 7a 65 20 74 68 65 20 63 75 72 72 65 6e 74 20 74 61 73 6b 73 20 77 69 74 68 20 | chronize.the.current.tasks.with. |
2fa0 | 69 74 73 20 61 74 74 61 63 68 6d 65 6e 74 73 2e 0a 54 68 69 73 20 63 61 6e 20 62 65 20 75 73 65 | its.attachments..This.can.be.use |
2fc0 | 64 20 61 66 74 65 72 20 66 69 6c 65 73 20 68 61 76 65 20 62 65 65 6e 20 61 64 64 65 64 20 65 78 | d.after.files.have.been.added.ex |
2fe0 | 74 65 72 6e 61 6c 6c 79 2e 1f 0a 28 64 65 66 61 6c 69 61 73 20 27 6f 72 67 2d 61 74 74 61 63 68 | ternally...(defalias.'org-attach |
3000 | 2d 73 79 6e 63 20 23 5b 6e 69 6c 20 22 5c 33 30 36 20 5c 32 31 30 08 5c 32 30 33 10 00 09 5c 32 | -sync.#[nil."\306.\210.\203...\2 |
3020 | 30 34 10 00 5c 33 30 37 60 08 5c 22 5c 32 31 30 5c 33 31 30 20 5c 32 31 31 1a 5c 32 30 35 48 00 | 04..\307`.\"\210\310.\211.\205H. |
3040 | 5c 33 31 31 5c 6e 21 5c 32 31 31 1b 5c 32 30 33 5c 22 00 5c 33 31 32 20 5c 32 31 30 08 5c 32 30 | \311\n!\211.\203\".\312.\210.\20 |
3060 | 35 47 00 0b 5c 33 31 33 1c 5c 32 31 31 1d 5c 32 30 33 45 00 0d 40 14 5c 33 31 34 5c 33 31 35 5c | 5G..\313.\211.\203E..@.\314\315\ |
3080 | 66 5c 22 5c 32 30 34 3e 00 5c 33 31 36 60 08 5c 66 23 5c 32 31 30 0d 41 5c 32 31 31 15 5c 32 30 | f\"\204>.\316`.\f#\210.A\211.\20 |
30a0 | 34 2e 00 2a 5c 33 31 33 29 29 5c 32 30 37 22 20 5b 6f 72 67 2d 61 74 74 61 63 68 2d 66 69 6c 65 | 4..*\313))\207".[org-attach-file |
30c0 | 2d 6c 69 73 74 2d 70 72 6f 70 65 72 74 79 20 6f 72 67 2d 61 74 74 61 63 68 2d 69 6e 68 65 72 69 | -list-property.org-attach-inheri |
30e0 | 74 65 64 20 61 74 74 61 63 68 2d 64 69 72 20 66 69 6c 65 73 20 66 69 6c 65 20 23 31 3d 23 3a 2d | ted.attach-dir.files.file.#1=#:- |
3100 | 2d 63 6c 2d 64 6f 6c 69 73 74 2d 74 65 6d 70 2d 2d 20 6f 72 67 2d 61 74 74 61 63 68 2d 63 6f 6d | -cl-dolist-temp--.org-attach-com |
3120 | 6d 69 74 20 6f 72 67 2d 65 6e 74 72 79 2d 64 65 6c 65 74 65 20 6f 72 67 2d 61 74 74 61 63 68 2d | mit.org-entry-delete.org-attach- |
3140 | 64 69 72 20 6f 72 67 2d 61 74 74 61 63 68 2d 66 69 6c 65 2d 6c 69 73 74 20 6f 72 67 2d 61 74 74 | dir.org-attach-file-list.org-att |
3160 | 61 63 68 2d 74 61 67 20 6e 69 6c 20 73 74 72 69 6e 67 2d 6d 61 74 63 68 20 22 5e 5c 5c 2e 22 20 | ach-tag.nil.string-match."^\\.". |
3180 | 6f 72 67 2d 65 6e 74 72 79 2d 61 64 64 2d 74 6f 2d 6d 75 6c 74 69 76 61 6c 75 65 64 2d 70 72 6f | org-entry-add-to-multivalued-pro |
31a0 | 70 65 72 74 79 5d 20 36 20 28 23 24 20 2e 20 31 32 31 35 37 29 20 6e 69 6c 5d 29 0a 23 40 31 31 | perty].6.(#$...12157).nil]).#@11 |
31c0 | 38 20 52 65 74 75 72 6e 20 61 20 6c 69 73 74 20 6f 66 20 66 69 6c 65 73 20 69 6e 20 74 68 65 20 | 8.Return.a.list.of.files.in.the. |
31e0 | 61 74 74 61 63 68 6d 65 6e 74 20 64 69 72 65 63 74 6f 72 79 2e 0a 54 68 69 73 20 69 67 6e 6f 72 | attachment.directory..This.ignor |
3200 | 65 73 20 66 69 6c 65 73 20 73 74 61 72 74 69 6e 67 20 77 69 74 68 20 61 20 22 2e 22 2c 20 61 6e | es.files.starting.with.a.".",.an |
3220 | 64 20 66 69 6c 65 73 20 65 6e 64 69 6e 67 20 69 6e 20 22 7e 22 2e 1f 0a 28 64 65 66 61 6c 69 61 | d.files.ending.in."~"...(defalia |
3240 | 73 20 27 6f 72 67 2d 61 74 74 61 63 68 2d 66 69 6c 65 2d 6c 69 73 74 20 23 5b 28 64 69 72 29 20 | s.'org-attach-file-list.#[(dir). |
3260 | 22 5c 33 30 31 5c 33 30 32 5c 33 30 33 5c 33 30 34 5c 33 30 35 08 5c 33 30 32 5c 33 30 36 23 5c | "\301\302\303\304\305.\302\306#\ |
3280 | 22 5c 22 5c 32 30 37 22 20 5b 64 69 72 20 64 65 6c 71 20 6e 69 6c 20 6d 61 70 63 61 72 20 23 5b | "\"\207".[dir.delq.nil.mapcar.#[ |
32a0 | 28 78 29 20 22 5c 33 30 31 5c 33 30 32 08 5c 22 3f 5c 32 30 35 09 00 08 5c 32 30 37 22 20 5b 78 | (x)."\301\302.\"?\205...\207".[x |
32c0 | 20 73 74 72 69 6e 67 2d 6d 61 74 63 68 20 22 5e 5c 5c 2e 22 5d 20 33 5d 20 64 69 72 65 63 74 6f | .string-match."^\\."].3].directo |
32e0 | 72 79 2d 66 69 6c 65 73 20 22 5b 5e 7e 5d 5c 5c 27 22 5d 20 38 20 28 23 24 20 2e 20 31 32 37 33 | ry-files."[^~]\\'"].8.(#$...1273 |
3300 | 38 29 5d 29 0a 23 40 36 31 20 53 68 6f 77 20 74 68 65 20 61 74 74 61 63 68 6d 65 6e 74 20 64 69 | 8)]).#@61.Show.the.attachment.di |
3320 | 72 65 63 74 6f 72 79 20 6f 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 74 61 73 6b 20 69 6e 20 64 | rectory.of.the.current.task.in.d |
3340 | 69 72 65 64 2e 1f 0a 28 64 65 66 61 6c 69 61 73 20 27 6f 72 67 2d 61 74 74 61 63 68 2d 72 65 76 | ired...(defalias.'org-attach-rev |
3360 | 65 61 6c 20 23 5b 28 26 6f 70 74 69 6f 6e 61 6c 20 69 66 2d 65 78 69 73 74 73 29 20 22 5c 33 30 | eal.#[(&optional.if-exists)."\30 |
3380 | 32 08 3f 21 5c 32 31 31 19 5c 32 30 35 5c 66 00 5c 33 30 33 09 21 29 5c 32 30 37 22 20 5b 69 66 | 2.?!\211.\205\f.\303.!)\207".[if |
33a0 | 2d 65 78 69 73 74 73 20 61 74 74 61 63 68 2d 64 69 72 20 6f 72 67 2d 61 74 74 61 63 68 2d 64 69 | -exists.attach-dir.org-attach-di |
33c0 | 72 20 6f 72 67 2d 6f 70 65 6e 2d 66 69 6c 65 5d 20 33 20 28 23 24 20 2e 20 31 33 30 36 36 29 20 | r.org-open-file].3.(#$...13066). |
33e0 | 22 50 22 5d 29 0a 23 40 31 32 30 20 53 68 6f 77 20 74 68 65 20 61 74 74 61 63 68 6d 65 6e 74 20 | "P"]).#@120.Show.the.attachment. |
3400 | 64 69 72 65 63 74 6f 72 79 20 6f 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 74 61 73 6b 2e 0a 54 | directory.of.the.current.task..T |
3420 | 68 69 73 20 77 69 6c 6c 20 61 74 74 65 6d 70 74 20 74 6f 20 75 73 65 20 61 6e 20 65 78 74 65 72 | his.will.attempt.to.use.an.exter |
3440 | 6e 61 6c 20 70 72 6f 67 72 61 6d 20 74 6f 20 73 68 6f 77 20 74 68 65 20 64 69 72 65 63 74 6f 72 | nal.program.to.show.the.director |
3460 | 79 2e 1f 0a 28 64 65 66 61 6c 69 61 73 20 27 6f 72 67 2d 61 74 74 61 63 68 2d 72 65 76 65 61 6c | y...(defalias.'org-attach-reveal |
3480 | 2d 69 6e 2d 65 6d 61 63 73 20 23 5b 6e 69 6c 20 22 5c 33 30 31 5c 33 30 32 21 18 5c 33 30 33 08 | -in-emacs.#[nil."\301\302!.\303. |
34a0 | 21 29 5c 32 30 37 22 20 5b 61 74 74 61 63 68 2d 64 69 72 20 6f 72 67 2d 61 74 74 61 63 68 2d 64 | !)\207".[attach-dir.org-attach-d |
34c0 | 69 72 20 74 20 64 69 72 65 64 5d 20 32 20 28 23 24 20 2e 20 31 33 32 39 32 29 20 6e 69 6c 5d 29 | ir.t.dired].2.(#$...13292).nil]) |
34e0 | 0a 23 40 32 39 32 20 4f 70 65 6e 20 61 6e 20 61 74 74 61 63 68 6d 65 6e 74 20 6f 66 20 74 68 65 | .#@292.Open.an.attachment.of.the |
3500 | 20 63 75 72 72 65 6e 74 20 74 61 73 6b 2e 0a 49 66 20 74 68 65 72 65 20 61 72 65 20 6d 6f 72 65 | .current.task..If.there.are.more |
3520 | 20 74 68 61 6e 20 6f 6e 65 20 61 74 74 61 63 68 6d 65 6e 74 2c 20 79 6f 75 20 77 69 6c 6c 20 62 | .than.one.attachment,.you.will.b |
3540 | 65 20 70 72 6f 6d 70 74 65 64 20 66 6f 72 20 74 68 65 20 66 69 6c 65 20 6e 61 6d 65 2e 0a 54 68 | e.prompted.for.the.file.name..Th |
3560 | 69 73 20 63 6f 6d 6d 61 6e 64 20 77 69 6c 6c 20 6f 70 65 6e 20 74 68 65 20 66 69 6c 65 20 75 73 | is.command.will.open.the.file.us |
3580 | 69 6e 67 20 74 68 65 20 73 65 74 74 69 6e 67 73 20 69 6e 20 60 6f 72 67 2d 66 69 6c 65 2d 61 70 | ing.the.settings.in.`org-file-ap |
35a0 | 70 73 27 0a 61 6e 64 20 69 6e 20 74 68 65 20 73 79 73 74 65 6d 2d 73 70 65 63 69 66 69 63 20 76 | ps'.and.in.the.system-specific.v |
35c0 | 61 72 69 61 6e 74 73 20 6f 66 20 74 68 69 73 20 76 61 72 69 61 62 6c 65 2e 0a 49 66 20 49 4e 2d | ariants.of.this.variable..If.IN- |
35e0 | 45 4d 41 43 53 20 69 73 20 6e 6f 6e 2d 6e 69 6c 2c 20 66 6f 72 63 65 20 6f 70 65 6e 69 6e 67 20 | EMACS.is.non-nil,.force.opening. |
3600 | 69 6e 20 45 6d 61 63 73 2e 1f 0a 28 64 65 66 61 6c 69 61 73 20 27 6f 72 67 2d 61 74 74 61 63 68 | in.Emacs...(defalias.'org-attach |
3620 | 2d 6f 70 65 6e 20 23 5b 28 26 6f 70 74 69 6f 6e 61 6c 20 69 6e 2d 65 6d 61 63 73 29 20 22 5c 33 | -open.#[(&optional.in-emacs)."\3 |
3640 | 30 34 5c 33 30 35 21 18 5c 33 30 36 08 21 5c 32 31 31 19 47 5c 33 30 37 55 5c 32 30 33 14 00 09 | 04\305!.\306.!\211.G\307U\203... |
3660 | 40 5c 32 30 32 1d 00 5c 33 31 30 5c 33 31 31 5c 33 31 32 5c 33 31 33 09 5c 22 5c 33 31 34 5c 33 | @\202..\310\311\312\313.\"\314\3 |
3680 | 30 35 24 1a 5c 33 31 35 5c 33 31 36 5c 6e 08 5c 22 0b 5c 22 2b 5c 32 30 37 22 20 5b 61 74 74 61 | 05$.\315\316\n.\".\"+\207".[atta |
36a0 | 63 68 2d 64 69 72 20 66 69 6c 65 73 20 66 69 6c 65 20 69 6e 2d 65 6d 61 63 73 20 6f 72 67 2d 61 | ch-dir.files.file.in-emacs.org-a |
36c0 | 74 74 61 63 68 2d 64 69 72 20 74 20 6f 72 67 2d 61 74 74 61 63 68 2d 66 69 6c 65 2d 6c 69 73 74 | ttach-dir.t.org-attach-file-list |
36e0 | 20 31 20 6f 72 67 2d 69 63 6f 6d 70 6c 65 74 69 6e 67 2d 72 65 61 64 20 22 4f 70 65 6e 20 61 74 | .1.org-icompleting-read."Open.at |
3700 | 74 61 63 68 6d 65 6e 74 3a 20 22 20 6d 61 70 63 61 72 20 6c 69 73 74 20 6e 69 6c 20 6f 72 67 2d | tachment:.".mapcar.list.nil.org- |
3720 | 6f 70 65 6e 2d 66 69 6c 65 20 65 78 70 61 6e 64 2d 66 69 6c 65 2d 6e 61 6d 65 5d 20 36 20 28 23 | open-file.expand-file-name].6.(# |
3740 | 24 20 2e 20 31 33 35 34 33 29 20 22 50 22 5d 29 0a 23 40 36 35 20 4f 70 65 6e 20 61 74 74 61 63 | $...13543)."P"]).#@65.Open.attac |
3760 | 68 6d 65 6e 74 2c 20 66 6f 72 63 65 20 6f 70 65 6e 69 6e 67 20 69 6e 20 45 6d 61 63 73 2e 0a 53 | hment,.force.opening.in.Emacs..S |
3780 | 65 65 20 60 6f 72 67 2d 61 74 74 61 63 68 2d 6f 70 65 6e 27 2e 1f 0a 28 64 65 66 61 6c 69 61 73 | ee.`org-attach-open'...(defalias |
37a0 | 20 27 6f 72 67 2d 61 74 74 61 63 68 2d 6f 70 65 6e 2d 69 6e 2d 65 6d 61 63 73 20 23 5b 6e 69 6c | .'org-attach-open-in-emacs.#[nil |
37c0 | 20 22 5c 33 30 30 5c 33 30 31 21 5c 32 30 37 22 20 5b 6f 72 67 2d 61 74 74 61 63 68 2d 6f 70 65 | ."\300\301!\207".[org-attach-ope |
37e0 | 6e 20 69 6e 2d 65 6d 61 63 73 5d 20 32 20 28 23 24 20 2e 20 31 34 31 36 36 29 20 6e 69 6c 5d 29 | n.in-emacs].2.(#$...14166).nil]) |
3800 | 0a 23 40 31 32 36 20 52 65 74 75 72 6e 20 74 68 65 20 66 75 6c 6c 20 70 61 74 68 20 74 6f 20 74 | .#@126.Return.the.full.path.to.t |
3820 | 68 65 20 63 75 72 72 65 6e 74 20 65 6e 74 72 79 27 73 20 61 74 74 61 63 68 6d 65 6e 74 20 66 69 | he.current.entry's.attachment.fi |
3840 | 6c 65 20 46 49 4c 45 2e 0a 42 61 73 69 63 61 6c 6c 79 2c 20 74 68 69 73 20 61 64 64 73 20 74 68 | le.FILE..Basically,.this.adds.th |
3860 | 65 20 70 61 74 68 20 74 6f 20 74 68 65 20 61 74 74 61 63 68 6d 65 6e 74 20 64 69 72 65 63 74 6f | e.path.to.the.attachment.directo |
3880 | 72 79 2e 1f 0a 28 64 65 66 61 6c 69 61 73 20 27 6f 72 67 2d 61 74 74 61 63 68 2d 65 78 70 61 6e | ry...(defalias.'org-attach-expan |
38a0 | 64 20 23 5b 28 66 69 6c 65 29 20 22 5c 33 30 31 08 5c 33 30 32 20 5c 22 5c 32 30 37 22 20 5b 66 | d.#[(file)."\301.\302.\"\207".[f |
38c0 | 69 6c 65 20 65 78 70 61 6e 64 2d 66 69 6c 65 2d 6e 61 6d 65 20 6f 72 67 2d 61 74 74 61 63 68 2d | ile.expand-file-name.org-attach- |
38e0 | 64 69 72 5d 20 33 20 28 23 24 20 2e 20 31 34 33 34 33 29 5d 29 0a 23 40 31 35 35 20 52 65 74 75 | dir].3.(#$...14343)]).#@155.Retu |
3900 | 72 6e 20 61 20 66 69 6c 65 20 6c 69 6e 6b 20 70 6f 69 6e 74 69 6e 67 20 74 6f 20 74 68 65 20 63 | rn.a.file.link.pointing.to.the.c |
3920 | 75 72 72 65 6e 74 20 65 6e 74 72 79 27 73 20 61 74 74 61 63 68 6d 65 6e 74 20 66 69 6c 65 20 46 | urrent.entry's.attachment.file.F |
3940 | 49 4c 45 2e 0a 42 61 73 69 63 61 6c 6c 79 2c 20 74 68 69 73 20 61 64 64 73 20 74 68 65 20 70 61 | ILE..Basically,.this.adds.the.pa |
3960 | 74 68 20 74 6f 20 74 68 65 20 61 74 74 61 63 68 6d 65 6e 74 20 64 69 72 65 63 74 6f 72 79 2c 20 | th.to.the.attachment.directory,. |
3980 | 61 6e 64 20 61 20 22 66 69 6c 65 3a 22 0a 70 72 65 66 69 78 2e 1f 0a 28 64 65 66 61 6c 69 61 73 | and.a."file:".prefix...(defalias |
39a0 | 20 27 6f 72 67 2d 61 74 74 61 63 68 2d 65 78 70 61 6e 64 2d 6c 69 6e 6b 20 23 5b 28 66 69 6c 65 | .'org-attach-expand-link.#[(file |
39c0 | 29 20 22 5c 33 30 31 5c 33 30 32 08 21 50 5c 32 30 37 22 20 5b 66 69 6c 65 20 22 66 69 6c 65 3a | )."\301\302.!P\207".[file."file: |
39e0 | 22 20 6f 72 67 2d 61 74 74 61 63 68 2d 65 78 70 61 6e 64 5d 20 33 20 28 23 24 20 2e 20 31 34 35 | ".org-attach-expand].3.(#$...145 |
3a00 | 38 38 29 5d 29 0a 28 70 72 6f 76 69 64 65 20 27 6f 72 67 2d 61 74 74 61 63 68 29 0a | 88)]).(provide.'org-attach). |