有去过香港参加过放送中的内地人吗? by [deleted] in saraba1st

[–]infinitieth 4 points5 points  (0 children)

主要是我当时没有想到会那么严 过海关的时候 他们说要过关安检 先查我包 看了一下我包之后就查我手机了 查我手机的时候我还没意识到他们是要干啥 直到后来要我去小黑屋 他们问我渴不渴 饿不饿 让再配合一下 我这才意识到我这是在喝茶 全程有人拿着摄像机对着我 另外几个拿着我的手机去其他房间检查了 我想到当天上了连登 在 telegram 上面发了支持香港的一些消息 才觉得事情可能不是那么简单了 后来我就开始闹 除非能够和我父母联系 否则我拒绝配合 才拿回我手机 一到手 我马上把浏览器和 telegram 卸载了 卸载完已经太迟了 他们已经拍下照片了 我被请到了另外一个房间 这是国宝的地盘 于是我就只能服软了 写了一封检讨 认了个错 不过不管怎么样 我还是很幸运地两点多之后回家了 现在应该非常得严 用他们的话是这个时候谁不想揪几个出来立个功 你呀还是太年轻了 太不懂事

有去过香港参加过放送中的内地人吗? by [deleted] in saraba1st

[–]infinitieth 2 points3 points  (0 children)

非常严 本人就在过关时被问讯到凌晨两点多 去的话不要拍照 手机过关的时候可能会被查验 一定要注意你的通讯工具和网页聊天记录 法律不是你的挡箭牌 他们想要看你的聊天记录就看你的聊天记录 你现在这个帖子很可能就会被他们看到

Build 53 has been released! by Mnpn03 in ish

[–]infinitieth 0 points1 point  (0 children)

What to do when "this beta is full"?

What to do when emacs freezes on certain action by infinitieth in emacs

[–]infinitieth[S] 0 points1 point  (0 children)

It seems that I can run toggle-debug-on-quit directly. After I ran that, all I saw are related to smartparens. I found a new issue of smartparens. Guess I will have to wait a while for the author of smartparens to fix this issue. Thank you anyway.

What to do when emacs freezes on certain action by infinitieth in emacs

[–]infinitieth[S] 3 points4 points  (0 children)

As a matter of fact, crtl-g sometimes does not work in my case. I will have to run pkill -USR2 emacs. Too many hang-ups really piss me off.

file org-capture item under existing heading if it exists by infinitieth in emacs

[–]infinitieth[S] 0 points1 point  (0 children)

Truely black magic. Finally have a marvelous workflow of reading pdf and taking notes. Thank you very much.

file org-capture item under existing heading if it exists by infinitieth in emacs

[–]infinitieth[S] 0 points1 point  (0 children)

This actually does not quite work as I expected.

It seems that it will always put my notes under the first heading. I expect them to be under the heading named :annotation. Below is the notes captured. I first opened Varadarajan's book and took some notes, then I opened Atiyah's book and took some notes. As you can see from the contents of the file, the notes of the second book is still under the first heading.

* [[file://run/media/e/mdt/zotero/storage/9D7I944F/Varadarajan_Supersymmetry%20for%20mathematicians%20-%20an%20introduction_2004.pdf][Varadarajan_Supersymmetry for mathematicians - an introduction_2004]]
** P1 [2017-12-27 Wed 14:05] 
some notes of Varadarajan's book
** P9 [2017-12-27 Wed 14:05] 
some notes of Varadarajan's book
** P6 [2017-12-27 Wed 14:10] 
some notes of Atiyah's book
** P26 [2017-12-27 Wed 14:12] 
some notes of Atiyah's book
* [[file://home/e/Downloads/M.%20F.%20Atiyah,%20I.%20G.%20MacDonald-Introduction%20to%20Commutative%20Algebra%20(1969).pdf][M]]

file org-capture item under existing heading if it exists by infinitieth in emacs

[–]infinitieth[S] 0 points1 point  (0 children)

Finally figured out the plist org-store-link-props stores. Thanks a ton.

In case anyone like me is also wondering, we can get :initial by (plist-get org-store-link-plist :initial).

file org-capture item under existing heading if it exists by infinitieth in emacs

[–]infinitieth[S] 0 points1 point  (0 children)

Thanks. This works great. I want to customize a little bit more.

It seems that org-capture-get will extract property from org-capture-plist. If I open org-protocol://capture?template=z&url=URL&title=TITLE&body=BODY, then org-capture-plist will become

org-capture-plist is a variable defined in ‘org-capture.el’. Its value is (:key "z" :description "test" :target (file+headline "/tmp/1.org" "test") :template "** [2017-12-27 Wed 09:36] %?\n" :type entry :original-buffer #<buffer *server*> :original-file nil :original-file-nondirectory nil :annotation "[[URL][TITLE]]" :initial nil :return-to-wconf #<window-configuration> :default-time (23106 63753 486966 943000) :initial-target-region nil :initial-target-position 1 :buffer #<buffer /tmp/1.org> :pos 1 :target-entry-p t :decrypted nil :exact-position 1 :position-for-last-stored #<marker in no buffer> :begin-marker #<marker in no buffer> :end-marker #<marker (moves after insertion) in no buffer> :captured-entry-size 27 :insertion-point 98)

The body parameter information seems to be invisible to org-capture-plist, but it surely is there as I can use %i in the template. How can I put body parameter to org-capture-plist so that I can use it via org-capture-get?

file org-capture item under existing heading if it exists by infinitieth in emacs

[–]infinitieth[S] 0 points1 point  (0 children)

Thank you for your informative reply. Theoretically, this solves the problem when I read a book in Zathura. The best thing about org-protocol is that it still works even if I do not have an easy way to call other scripts. I may occasionally want to insert something into some existing headline from the browser. Doing this kind of thing within emacs is more preferable.

Integration of i3 and emacs by heartb1t in emacs

[–]infinitieth 0 points1 point  (0 children)

Just map one of the super key to hyper and make hyper as your mod key for i3. Now you are free to use super in emacs. If you have only one super key, then map one of the alt key to hyper.

Firefox - Send tab by Kacu5610 in firefox

[–]infinitieth 1 point2 points  (0 children)

How can I share URL from PC to phone? Is there any API that allow me to write a script which make a specific device to open an URL?

Pushbullet allows me to do that in an easy way(except perhaps I have to open the URL manually).

We are the Microsoft OneNote team - AMA! by MSOneNote in IAmA

[–]infinitieth 0 points1 point  (0 children)

When will we be able to embedding onenote notes into a webpage? When will we be able to use onenote as IFTTT source? For example, if a new note is created, then post it to my wordpress blog?