ag91 / ol-emacs-slack Goto Github PK
View Code? Open in Web Editor NEWOrg links for emacs-slack (https://github.com/yuya373/emacs-slack)
Org links for emacs-slack (https://github.com/yuya373/emacs-slack)
Hi Andrea 👋
In the example at https://ag91.github.io/blog/2022/04/01/ol-emacs-slack-added-support-for-thread-links/
These lines seem to define the destination for the link
(if (plist-get info :data)
(format "%s|%s|ts:%s"
(plist-get (plist-get info :data) :team-id)
(plist-get (plist-get info :data) :room-id)
(plist-get (plist-get info :data) :ts))
(plist-get info :title))
With the example as-is, the org links seem to only have the results of (plist-get info :title)
.
Swapping if (plist-get info :data)
with (if (plist-member info :data)
causes the (format "%s|%s|ts:%s" ...
to output, but none of those keys seem available? An example link added to Slack.org via the Alert notifier is [[emacs-slack:nil|nil|ts:nil][Feeling great!]]
.
Using org-store-link
on the same slack message returns [[emacs-slack:T7X9DRJNN&DKD6VP6AF&ts:1655613103.610449][Slack message in #Slackbot at [14:31]: Feeling great!]]
, which works great.
If you can help me here, I'd greatly appreciate it 😅
I am getting the following error when trying to use org-store-link
in a Slack Message Buffer.
Symbol’s value as variable is void: name
Any idea what thats about or how to fix?
Thank you!
Justin
I realized that I keep a clone of this code so that I can use it.
I would love to just install it using M-x package-install
Would you accept me suggesting a PR to melpa to add this package?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.