Re: [Skim-app-users] displayline for keeping Skim.app to the background

2011-01-26 Thread Thomas Schneider
I found an even better solution to keeping Skim.app in the background.
Rather than switching back to the Terminal after skim updates, one
can:

open -g -a /Applications/Skim.app $1

The manual page for open says:

 -g  Do not bring the application to the foreground.

This way one can continue editing LaTeX, a postscript program or a
program that makes a postscript program (! such as a sequence logo
http://alum.mit.edu/www/toms/glossary.html#sequence_logo) without any
loss of focus on the Terminal.

The work flow is that I write out the graphic source file from vim
with a single comma ('map , :w^M' in ~/.vimrc).  This awakens
atchange, http://alum.mit.edu/www/toms/atchange.html to run a script
which creates the pdf and then opens skim as above.  Skim refreshes. 
The result is a very smooth display with editor and result on one
screen.  I do not touch the mouse.  I just edit and hit a comma when I
want it to update the display.  Thanks to the skim developers for
making this possible.

Tom

  Thomas D. Schneider, Ph.D.
  National Institutes of Health
  National Cancer Institute
  Gene Regulation and Chromosome Biology Laboratory
  Molecular Information Theory Group
  Frederick, Maryland  21702-1201
  http://alum.mit.edu/www/toms (permanent)

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Skim-app-users mailing list
Skim-app-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-users


Re: [Skim-app-users] displayline for keeping Skim.app to the background

2011-01-12 Thread Ryohei SETO
Hi, Christiaan

 I can do that, though of course it's also very simple to do it yourself by 
 deleting a single line.

After I posted about displayline with additional option, I found same item in 
the tracker.
http://sourceforge.net/tracker/?func=detailaid=1963451group_id=192583atid=941984
I think control of window activation is a factor to make user easier.
So, I believe there is some demand of the background option -g for displayline.
As you say, it is very easy to delete the line. 
But, command line option seems to be more natural for this feature. 

Thanks,
Ryohei Seto

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl___
Skim-app-users mailing list
Skim-app-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-users


Re: [Skim-app-users] displayline for keeping Skim.app to the background

2011-01-12 Thread Ryohei SETO
Hi,
I knew that people are interested in background behavior.
Actually I like OSX, that the background operation is well considered.
Concerning to the topic, I found tiny UI conflict.
When an application is on the background, it accepts scrolling by option key + 
scroll wheel/ball .
Skim.app can do, of cause. But, when Skim is active, same operation changes the 
zoom.
I wonder option key + scroll wheel/ball should be reserved for the background 
control.
command maybe better than option. (like Omni Graffle)

Thanks,
Ryohei Seto

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl___
Skim-app-users mailing list
Skim-app-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-users


Re: [Skim-app-users] displayline for keeping Skim.app to the background

2011-01-12 Thread Christiaan Hofman

On Jan 12, 2011, at 17:36, Ryohei SETO wrote:

 Hi,
 I knew that people are interested in background behavior.
 Actually I like OSX, that the background operation is well considered.
 Concerning to the topic, I found tiny UI conflict.
 When an application is on the background, it accepts scrolling by option key 
 + scroll wheel/ball .
 Skim.app can do, of cause. But, when Skim is active, same operation changes 
 the zoom.
 I wonder option key + scroll wheel/ball should be reserved for the 
 background control.
 command maybe better than option. (like Omni Graffle)
 
 Thanks,
 Ryohei Seto

Why do you need the Option key? The scroll wheels scrolls the view below the 
cursor (if that view accepts the action, which is true for PDFView), no matter 
whether it's in the foreground or the background. At least, this is how it 
behaves for me on 10.6.6.

Christiaan


--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl___
Skim-app-users mailing list
Skim-app-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-users


Re: [Skim-app-users] displayline for keeping Skim.app to the background

2011-01-12 Thread Ryohei SETO
 Why do you need the Option key? The scroll wheels scrolls the view below the 
 cursor (if that view accepts the action, which is true for PDFView), no 
 matter whether it's in the foreground or the background. At least, this is 
 how it behaves for me on 10.6.6.

I'm sorry, I was just confused.
(We can drag the scroll bar with command key...)

Thanks
Ryohei Seto

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl___
Skim-app-users mailing list
Skim-app-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-users


Re: [Skim-app-users] displayline for keeping Skim.app to the background

2011-01-11 Thread Ryohei SETO
Hi,

 Of course this would not help Patrik, because Aquamacs uses its own script.


I think -g may help the third one, if I'm not misunderstanding.
It allows to keep focus on Emacs, but update pdf by displayline command.
For AUCTeX, one can add the option -g by 

(setq TeX-view-program-selection '((output-pdf Skim)))
(setq TeX-view-program-list '((Skim 
/Applications/Skim.app/Contents/SharedSupport/displayline -g %n %o %b)))

Ryohei Seto

--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl ___
Skim-app-users mailing list
Skim-app-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-users


Re: [Skim-app-users] displayline for keeping Skim.app to the background

2011-01-11 Thread Patrik Jonsson
I solved the issue in Aquamacs by changing the AppleScript that
Aquamacs uses to tell Skim to display the line. Simply removing
activate from the script in aquamacs-call-viewer in auctex-config.el
makes Skim update without getting focus.

cheers,

/Patrik

On Tue, Jan 11, 2011 at 6:49 AM, Ryohei SETO setoryo...@me.com wrote:
 Hi,

 Of course this would not help Patrik, because Aquamacs uses its own script.

 I think -g may help the third one, if I'm not misunderstanding.
 It allows to keep focus on Emacs, but update pdf by displayline command.
 For AUCTeX, one can add the option -g by
 
 (setq TeX-view-program-selection '((output-pdf Skim)))
 (setq TeX-view-program-list
 '((Skim /Applications/Skim.app/Contents/SharedSupport/displayline -g %n
 %o %b)))
 Ryohei Seto

 --
 Gaining the trust of online customers is vital for the success of any
 company
 that requires sensitive data to be transmitted over the Web.   Learn how to
 best implement a security strategy that keeps consumers' information secure
 and instills the confidence they need to proceed with transactions.
 http://p.sf.net/sfu/oracle-sfdevnl
 ___
 Skim-app-users mailing list
 Skim-app-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/skim-app-users



--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
Skim-app-users mailing list
Skim-app-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-users