How to hide *Org Links* buffer when insert new links?

2021-05-15 Thread Shiyao MA
Hi,

When insert org links with org-insert-link, an Org Links buffer is created.

How can I hide it?


An example image here:


https://i.stack.imgur.com/i69x8.png


-- 
Best,
Shiyao


[O] Stop org from deleting empty lines between the previous heading.

2018-01-07 Thread Shiyao MA
Hi,

I use M-ret org-meta-return to insert a new headline below the current line.

I want org to insert a new heading right below the current line without
inserting any empty line.

However,  setting  ;; org-blank-before-new-entry '((heading . nil)
(plain-list-item . nil))

will make org *delete* the empty lines between the newly inserted heading
and its previous heading.


-- 
Best,
Shiyao


Re: [O] is there a plan to move org elpa from http to https?

2018-01-04 Thread Shiyao MA
thanks.  good to know.

Best,


[O] is there a plan to move org elpa from http to https?

2018-01-03 Thread Shiyao MA
Hi,

is there a plan to move org elpa from http to https?

-- 
Best,
Shiyao


Re: [O] make org-fill-paragraph stop fill list headlines.

2017-12-22 Thread Shiyao MA
Thanks.  that really helps.

best,

On Sat, Dec 23, 2017 at 2:08 AM, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote:
> Hello,
>
> Shiyao MA <i...@introo.me> writes:
>
>> given this:
>>
>>>>
>> some text.
>> - a list node.
>>   some context.
>> <<
>>
>> after filling, it will be:
>>>>
>> some text.
>> - a list node.  some context.
>> <<
>>
>> possible to stop the joining of the list headline (=a list node.=) and
>> the content (=some context=)?
>
> You can use line break:
>
> - a list node. \\
>   some context.
>
>
> Regards,
>
> --
> Nicolas Goaziou



-- 
Best,
Shiyao



[O] wrong behavior of org-open-at-point with certain url.

2017-12-22 Thread Shiyao MA
Hi,

For the given link, which is directly copied from chrome url bar,
[[https://lwn.net/Articles/262464/#Quick Quiz 5]]

org-open-at-point will open it as
https://lwn.net/Articles/262464/%23Quick%20Quiz%205

where as the correct url should be:
https://lwn.net/Articles/262464/#Quick%20Quiz%205

note that in the wrong one, # becomes %23.

Best,

-- 
Best,
Shiyao



[O] make org-fill-paragraph stop fill list headlines.

2017-12-21 Thread Shiyao MA
Hi,

given this:

>>
some text.
- a list node.
  some context.
<<

after filling, it will be:
>>
some text.
- a list node.  some context.
<<

possible to stop the joining of the list headline (=a list node.=) and
the content (=some context=)?

Adding an empty line like:
>>
some text.
- a list node.

  some context.
<<

will definitely do, but it make the text rather scattered.



-- 
Best,
Shiyao



Re: [O] possible to store a link to a specific entry in the *texinfo* file?

2017-12-20 Thread Shiyao MA
Hi yasushi.

Thanks for your reply.

I am now using org9.

Is it possible to specify an exact match?

 [[info:elisp#define-minor-mode]] gives two potential matches.

Found ‘easy-mmode-define-minor-mode’ in Index.  (2 total; use ‘,’ for next)

Best,

On Wed, Dec 20, 2017 at 12:38 PM, Yasushi SHOJI  wrote:
> Hi,
>
> I'm sorry that I miss read your question.
>
> No, org-store-link, or org-info-store-link to be precise, doesn't support
> storing the index you just used or you are on.
>
> I'm not sure how to figure out what a user is trying to store is either
> the current node or the index.
>
>
> You can, however, write a link by hand
>
> [[info:elisp#define-minor-mode]]
>
> and org is happy to open and jump to the entry
> pointed by the index.
>
> regards,
> --
> yashi



-- 
Best,
Shiyao



[O] possible to store a link to a specific entry in the *texinfo* file?

2017-12-18 Thread Shiyao MA
Hi,

For example, I use =i= to navigate to the elisp texinfo file entry
=define-minor-mode=.

And I want to store a link to that entry.

However, org-store-link stores to the node : Stored:
info:elisp#Defining Minor Modes
Instead of the exact entry.

-- 
Best,
Shiyao



Re: [O] Definition list not highlight for japanese character.

2017-12-18 Thread Shiyao MA
Thanks for you guys!

Today I tested with the japanese chars and they are rendered
bold/highlighted.  The problem has automatically gone.

Best,



[O] Definition list not highlight for japanese character.

2017-12-17 Thread Shiyao MA
Hi,

Definition list not highlight for japanese character.

for example, check this picture:
https://imgur.com/a/dBKt6

どういたしまして is not highlighted, where asdf is highlighted.

-- 
Best,
Shiyao



Re: [O] How to hide a specific subtree during startup?

2017-07-26 Thread Shiyao MA
Thanks.

This solves my problem.



> On 27 Jul 2017, at 08:58, Kaushal Modi <kaushal.m...@gmail.com> wrote:
> 
> On Wed, Jul 26, 2017, 8:42 PM Shiyao Ma <i...@introo.me> wrote:
> Hi,
> 
> I'd like to hide a specific *subtree* (not the whole document) after initial 
> open, how to achieve that?
> 
> Tag that subtree as ARCHIVE (note the all uppercase).
> 
> I'd anticipate there is some magic property drawer under that subtree 
> headline.
> 
> Better, if that subtree will avoid participating in the global visibility 
> cycling. It will get expanded/collapsed only when the cursor is *on* that 
> subtree and I press tab-s.
> 
> Archived subtrees will not expand on global cycling. They will also not 
> expand on TAB; you'll need C-TAB instead. 
> -- 
> Kaushal Modi
> 




[O] How to hide a specific subtree during startup?

2017-07-26 Thread Shiyao Ma
Hi,

I'd like to hide a specific *subtree* (not the whole document) after initial 
open, how to achieve that?


I'd anticipate there is some magic property drawer under that subtree headline.


Better, if that subtree will avoid participating in the global visibility 
cycling. It will get expanded/collapsed only when the cursor is *on* that 
subtree and I press tab-s.




Best,

Shiyao


Re: [O] How to treat `' as code quote (~~).

2017-07-25 Thread Shiyao Ma
Thanks.

I would stick with == then ;).

Best,

> On 25 Jul 2017, at 15:01, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote:
> 
> Hello,
> 
> Shiyao MA <i...@introo.me> writes:
> 
>> I wanna quote function name.
>> ~~ is really hard to type, and looks to obtrusive.
>> 
>> Possible to add a new code quote as `'?
>> I mean use ` ' to replace ~ ~.
> 
> It depends on where you want to replace it.
> 
> Extending syntax is not really possible. However, you could replace
> `...' with ~...~ just before exporting a buffer.
> 
> Also, you can hide emphasis markers if they are too intrusive, and use
> =...= instead of ~...~ if the latter is too hard to type.
> 
> Regards,
> 
> -- 
> Nicolas Goaziou




[O] How to treat `' as code quote (~~).

2017-07-24 Thread Shiyao MA
Hi,

I wanna quote function name.
~~ is really hard to type, and looks to obtrusive.

Possible to add a new code quote as `'?
I mean use ` ' to replace ~ ~.

Best.



Re: [O] How to stop org delete surrounding newline when adding headlines?

2017-03-11 Thread Shiyao Ma
Hi,

Not very urgent for me.  I only meant to check if such functionality
exists.

I am now ok with the ((heading . nil)) stuff.  Maybe one day I get bothered
with this behavior, I might write one and post here.

Regards.


On Sat, Mar 11, 2017 at 6:08 PM, Nicolas Goaziou <m...@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Shiyao Ma <i...@introo.me> writes:
>
> > Yes, I've tried with '((heading . auto)).
> >
> > '((heading . auto)) opens the possibility of inserting newline, which is
> > not desirable for me.
>
> Then there is no possibility to achieve what you want at the moment. We
> could implement a `manual' behavior for both headings and lists. Do you
> want to provide a patch for that?
>
> Regards,
>
> --
> Nicolas Goaziou
>


Re: [O] How to stop org delete surrounding newline when adding headlines?

2017-03-10 Thread Shiyao Ma
Hi,

Yes, I've tried with '((heading . auto)).

'((heading . auto)) opens the possibility of inserting newline, which is
not desirable for me.



On Sat, Mar 11, 2017 at 1:21 AM, Nicolas Goaziou <m...@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Shiyao Ma <i...@introo.me> writes:
>
> > I don't want org to automatically insert newline when adding headlines,
> so
> > I set this:
> >
> > org-blank-before-new-entry '((heading . nil) (plain-list-item . nil))
> >
> > But turns out, org *aggressively* delete the existing newlines when I
> press
> > ctrl-return.
> >
> >
> > How to tell org simply not to add newline when adding headline, meanwhile
> > not do anything else?
>
> Have you tried '((heading . auto))?
>
> Regards,
>
> --
> Nicolas Goaziou
>


[O] How to stop org delete surrounding newline when adding headlines?

2017-03-08 Thread Shiyao Ma
Hi,

I don't want org to automatically insert newline when adding headlines, so
I set this:

org-blank-before-new-entry '((heading . nil) (plain-list-item . nil))

But turns out, org *aggressively* delete the existing newlines when I press
ctrl-return.


How to tell org simply not to add newline when adding headline, meanwhile
not do anything else?


Regards.