Re: [O] I can't make work 'startup hidestars'

2012-12-05 Thread Daniel E. Doherty
If it helps, I have the following in my init file to make sure the hidden stars 
stay hidden:

#+begin_src emacs-lisp
(defun ded-set-org-hide ()
  "Make sure the background and foreground colors of the org-hide face
  matches the background of the default face."
  (interactive)
  (when (featurep 'org)
(set-face-attribute 'org-hide nil
:foreground
(face-attribute 'default :background))
(set-face-attribute 'org-hide nil
:background
(face-attribute 'default :background
  (add-hook 'after-init-hook 'ded-set-org-hide)
  (add-hook 'org-ctrl-c-ctrl-c-hook 'ded-set-org-hide)
#+end_src

This works fine, but has to be manually re-run if you load a different custom 
theme.

-- 

Daniel E. Doherty
Law Offices of Daniel E. Doherty
ded-...@ddoherty.net



Re: [O] I can't make work 'startup hidestars'

2012-08-26 Thread Ashfaq
: )
Thank you, Phillip, for the info.

At last, I got it right. Selecting manoj-dark color-theme has hid those
stars.


-- 
Sincerely,
Ashfaq


Re: [O] I can't make work 'startup hidestars'

2012-08-25 Thread Charles Philip Chan
Ashfaq  writes:

> However, as I wanted to indent too, it added extra stars in the
> line. To be precise, each line has now (2 * line_no -1) no. stars. Why
> is it like this?

I have no idea. I haven't ran Emacs in a console, let along through ssh,
in a couple of years. These days I connect to my machine with vnc
through an ssh tunnel. Maybe someone with more experience with emacs in
a console can help you. Alternatively, you might just want to bite the
bullet and use vnc.

Charles

-- 
"The move was on to 'Free the Lizard'"

  -- Jim Hamerly and Tom Paquin (Open Sources, 1999 O'Reilly and Associates)


pgpk8DIDqdCQf.pgp
Description: PGP signature


Re: [O] I can't make work 'startup hidestars'

2012-08-25 Thread Ashfaq
> The "hidden stars" colour is determined by the "org-hide" face which
> defaults to white. The easiest way for you is to start emacs with the
> "-rv" switch when you are using Putty.
>
>
Thanks for the info. I have installed emacs-goodies-el, inserted the
following line in .emacs

(require 'color-theme)

Then I selected a color theme which the color of  leading extra stars same
as the background giving an illusion of non-existence.

However, as I wanted to indent too, it added extra stars in the line. To be
precise, each line has now (2 * line_no -1) no. stars. Why is it like this?

-- 
Sincerely,
Ashfaq


Re: [O] I can't make work 'startup hidestars'

2012-08-25 Thread Charles Philip Chan
Ashfaq  writes:

> They have different background colors. putty has black background. But
> the emacs application in Ubuntu has white background. Can it be hacked
> into again? :-)

The "hidden stars" colour is determined by the "org-hide" face which
defaults to white. The easiest way for you is to start emacs with the
"-rv" switch when you are using Putty.

Charles

-- 
"Never make any mistaeks."
(Anonymous, in a mail discussion about to a kernel bug report.)


pgpIIFNa5UbCn.pgp
Description: PGP signature


Re: [O] I can't make work 'startup hidestars'

2012-08-25 Thread Ashfaq
On Sat, Aug 25, 2012 at 7:03 PM, Charles Philip Chan wrote:

> Ashfaq  writes:
>
> > Within the host, I opened an org file with the emacs. Now it can hide
> > the stars.  However, interestingly, when I ssh-ed into the host with
> > 'putty' and opened the same file with emacs, it shows the stars.
>
> Do they have different colour backgrounds? Hide star is really just a
> hack by setting the stars to the same colour as the background.
>
>
They have different background colors. putty has black background. But the
emacs application in Ubuntu has white background. Can it be hacked into
again? :-)


-- 
Sincerely,
Ashfaq


Re: [O] I can't make work 'startup hidestars'

2012-08-25 Thread Charles Philip Chan
Ashfaq  writes:

> Within the host, I opened an org file with the emacs. Now it can hide
> the stars.  However, interestingly, when I ssh-ed into the host with
> 'putty' and opened the same file with emacs, it shows the stars.

Do they have different colour backgrounds? Hide star is really just a
hack by setting the stars to the same colour as the background.

Charles

-- 
"It's God.  No, not Richard Stallman, or Linus Torvalds, but God."
(By Matt Welsh)


pgp8cua0a5o54.pgp
Description: PGP signature


Re: [O] I can't make work 'startup hidestars'

2012-08-25 Thread Ashfaq
I am testing orgmode in Ubuntu 12.04. The host is a VM in oracle virtual
box (ver 4.1.18) in Windows 7. Here the emacs version is 23.3.1. I am using
the default org-mode here.

Within the host, I opened an org file with the emacs. Now it can hide the
stars.
However, interestingly, when I ssh-ed into the host with 'putty' and opened
the same file with emacs, it shows the stars.

Then I tried it in the latest cygwin. Here, the stars are not hidden.

The org flie has the following entry --

#+STARTUP: hidestars


Sincerely,
Ashfaq


Re: [O] I can't make work 'startup hidestars'

2012-08-25 Thread Bastien
Hi Ashfaq,

Ashfaq  writes:

> I have installed slacwark13.7 and emacs 23.3. Then I've installed the
> orgmode 7.9.3. This is my .emacs initialization file:
  ^^

The version is not 7.9.3 but 7.9.  

The "3" in "org-7.9-3-ga986d3" means that there has been 3 commits since
the release of the version tagged release_7.9.

>
> (require 'org-install)
>
> Then, in a org file, I added the following lines to have cleaner view
>
> #+STARTUP: indent
> #+STARTUP: hidestars
>
>
> But the starts are not hidden. I can see even extra stars. Could
> anyone please help me?

I can't reproduce this with emacs-23.4 -Q and I don't have Emacs 23.3.

Does this happen with emacs-23.3 -Q or with your config?

Can anyone else reproduce this?

-- 
 Bastien



[O] I can't make work 'startup hidestars'

2012-08-25 Thread Ashfaq
Hi All,

I have installed slacwark13.7 and emacs 23.3. Then I've installed the
orgmode 7.9.3. This is my .emacs initialization file:

(require 'org-install)

Then, in a org file, I added the following lines to have cleaner view

#+STARTUP: indent
#+STARTUP: hidestars


But the starts are not hidden. I can see even extra stars. Could anyone
please help me?


-- 
Sincerely,
Ashfaq